Skip to content

Commit

Permalink
Signing use one debug keystore
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduytran0 committed Sep 5, 2020
1 parent 03cde0b commit 7aed98b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ android {
lintOptions {
abortOnError false
}
signingConfigs {
customDebug {
storeFile file("debug.keystore")
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
}
defaultConfig {
applicationId "net.kdt.pojavlaunch"
minSdkVersion 21
Expand All @@ -18,6 +26,11 @@ android {
}

buildTypes {
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.customDebug
}
release {
// Don't set to true or java.awt will be a.a or something similar.
minifyEnabled false
Expand Down

0 comments on commit 7aed98b

Please sign in to comment.