diff --git a/app/build.gradle b/app/build.gradle index 071194ede..fbdb4076d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,11 +3,22 @@ apply plugin: 'com.android.application' android { compileSdkVersion 26 dexOptions { - javaMaxHeapSize "4g" + javaMaxHeapSize "4g" } - lintOptions { - abortOnError false - } + + lintOptions { + abortOnError false + } + + signingConfigs { + customDebug { + storeFile file("debug.keystore") + storePassword "android" + keyAlias "androiddebugkey" + keyPassword "android" + } + } + defaultConfig { applicationId "net.kdt.pojavlaunch" minSdkVersion 21 @@ -22,8 +33,14 @@ 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. + // Don't set to true or java.awt will be a.a or something similar. minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' // defaultConfig already set diff --git a/app/debug.keystore b/app/debug.keystore new file mode 100644 index 000000000..12fd3e638 Binary files /dev/null and b/app/debug.keystore differ