mirror of
https://github.com/cmclark00/mintris.git
synced 2025-05-18 00:05:21 +01:00
Enhance: Add gradle.properties for keystore configuration and update .gitignore to include gradle.properties and hprof files
This commit is contained in:
parent
2edac3138c
commit
c1da5ba20f
4 changed files with 24 additions and 2 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -56,4 +56,7 @@ vcs.xml
|
||||||
google-services.json
|
google-services.json
|
||||||
|
|
||||||
# Android Profiling
|
# Android Profiling
|
||||||
*.hprof
|
*.hprof
|
||||||
|
|
||||||
|
# Gradle properties file (contains sensitive credentials)
|
||||||
|
gradle.properties
|
|
@ -17,10 +17,22 @@ android {
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
signingConfigs {
|
||||||
|
release {
|
||||||
|
if (project.hasProperty('RELEASE_STORE_FILE')) {
|
||||||
|
storeFile file(RELEASE_STORE_FILE)
|
||||||
|
storePassword RELEASE_STORE_PASSWORD
|
||||||
|
keyAlias RELEASE_KEY_ALIAS
|
||||||
|
keyPassword RELEASE_KEY_PASSWORD
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||||
|
signingConfig signingConfigs.release
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -20,4 +20,11 @@ kotlin.code.style=official
|
||||||
# Enables namespacing of each library's R class so that its R class includes only the
|
# Enables namespacing of each library's R class so that its R class includes only the
|
||||||
# resources declared in the library itself and none from the library's dependencies,
|
# resources declared in the library itself and none from the library's dependencies,
|
||||||
# thereby reducing the size of the R class for that library
|
# thereby reducing the size of the R class for that library
|
||||||
android.nonTransitiveRClass=true
|
android.nonTransitiveRClass=true
|
||||||
|
|
||||||
|
# Keystore Properties
|
||||||
|
# WARNING: Make sure this file is added to .gitignore
|
||||||
|
RELEASE_STORE_FILE=../../pixelmint-release-key.jks
|
||||||
|
RELEASE_STORE_PASSWORD=Star.Bucks1505
|
||||||
|
RELEASE_KEY_ALIAS=dropkey
|
||||||
|
RELEASE_KEY_PASSWORD=Star.Bucks1505
|
Loading…
Add table
Add a link
Reference in a new issue