Use debug.keystore

This commit is contained in:
khanhduytran0 2020-09-05 17:24:17 +07:00
parent 4c6cdfd9e1
commit c6dafb38b5
2 changed files with 22 additions and 5 deletions

View File

@ -3,11 +3,22 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion 26 compileSdkVersion 26
dexOptions { dexOptions {
javaMaxHeapSize "4g" javaMaxHeapSize "4g"
} }
lintOptions {
abortOnError false lintOptions {
} abortOnError false
}
signingConfigs {
customDebug {
storeFile file("debug.keystore")
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
}
defaultConfig { defaultConfig {
applicationId "net.kdt.pojavlaunch" applicationId "net.kdt.pojavlaunch"
minSdkVersion 21 minSdkVersion 21
@ -22,8 +33,14 @@ android {
} }
buildTypes { buildTypes {
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.customDebug
}
release { release {
// Don't set to true or java.awt will be a.a or something similar. // Don't set to true or java.awt will be a.a or something similar.
minifyEnabled false minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
// defaultConfig already set // defaultConfig already set

BIN
app/debug.keystore Normal file

Binary file not shown.