Created
May 29, 2022 20:27
-
-
Save gabrielbmoro/c2c696a877ceab120f8daf3170ce29ed to your computer and use it in GitHub Desktop.
Exposing Gradle properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
compileSdk 31 | |
defaultConfig { | |
applicationId "com.matematicasimples" | |
minSdk 23 | |
targetSdk 30 | |
versionCode getVersionCode() | |
versionName getVersionName() | |
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | |
vectorDrawables { | |
useSupportLibrary true | |
} | |
Properties keystoreProperties = loadProperties(rootProject) | |
resValue "string", "security_key", keystoreProperties['securityKey'] | |
resValue "string", "security_transformation", keystoreProperties['securityTransformation'] | |
resValue "string", "security_algorithm", keystoreProperties['securityAlgorithm'] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment