Workaround Android Studio 3.3 issue

https://issuetracker.google.com/issues/112604029
pull/147/head
M66B 7 years ago
parent 307b647a98
commit f6cb1d5495

1
.gitignore vendored

@ -16,3 +16,4 @@
/app/play_release /app/play_release
/tools/config.sh /tools/config.sh
crowdin.properties crowdin.properties
keystore.properties

@ -1,5 +1,9 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
def keystorePropertiesFile = rootProject.file("keystore.properties")
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
android { android {
compileSdkVersion 28 compileSdkVersion 28
defaultConfig { defaultConfig {
@ -16,6 +20,14 @@ android {
} }
} }
} }
signingConfigs {
release {
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
}
}
buildTypes { buildTypes {
release { release {
@ -23,6 +35,7 @@ android {
minifyEnabled = true minifyEnabled = true
useProguard = true useProguard = true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
} }
debug { debug {
debuggable = true debuggable = true

Loading…
Cancel
Save