Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support Secrets Gradle plugin #2093

Merged
merged 4 commits into from
May 9, 2024
Merged

Conversation

niyajali
Copy link
Collaborator

@niyajali niyajali commented May 8, 2024

Fixes #2092

Please Add Screenshots If there are any UI changes.

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Apply the MifosStyle.xml style template to your code in Android Studio.

  • Run the unit tests with ./gradlew check to make sure you didn't break anything

  • If you have multiple commits please combine them into one commit by squashing them.

core/network/build.gradle.kts Outdated Show resolved Hide resolved
secrets.defaults.properties Outdated Show resolved Hide resolved
@therajanmaurya therajanmaurya changed the title chore: Configured Secrets Gradle plugin Add Support Secrets Gradle plugin May 8, 2024
- Removed optional secrets.properties file declaration
- Configured And Applied Keys into default file
secrets.defaults.properties Outdated Show resolved Hide resolved
# Provide GEO API Key
GEO_API_KEY = AIzaSyAZTZqvDGyyw21z2Ee7N-dE_WuZQwKL0bs

DEMO_SERVER_CONFIG = "https://,demo.mifos.community,/fineract-provider/api/v1/,80,default"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is right way, we are going to keep this only, remove rest of it

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you also add a comment to DEMO_SERVER_CONFIG

#Update DEMO_SERVER_CONFIG according below mentioned your server config
#PROTOCOL_HTTPS = https://
#API_ENDPOINT = demo.mifos.community
#API_PATH = /fineract-provider/api/v1/
#PORT = 80
#TENANT = default

id(libs.plugins.kotlin.parcelize.get().pluginId)
id(libs.plugins.kotlin.kapt.get().pluginId)
}

val protocol = project.properties["PROTOCOL_HTTPS"].toString()
Copy link
Member

@therajanmaurya therajanmaurya May 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove these Build config fields

@therajanmaurya therajanmaurya merged commit 9e8f83f into openMF:master May 9, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore: Configure Secrets Gradle plugin
2 participants