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
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -57,3 +57,6 @@ google-services.json
|
|||
|
||||
# Android Profiling
|
||||
*.hprof
|
||||
|
||||
# Gradle properties file (contains sensitive credentials)
|
||||
gradle.properties
|
|
@ -17,10 +17,22 @@ android {
|
|||
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 {
|
||||
release {
|
||||
minifyEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -21,3 +21,10 @@ kotlin.code.style=official
|
|||
# resources declared in the library itself and none from the library's dependencies,
|
||||
# thereby reducing the size of the R class for that library
|
||||
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