Magic_Ling_Pixel_Dungeon/core/build.gradle
Evan Debenham 5e759d4f1f v0.7.1c: switched to experimental R8 optimizer which replaces proguard.
A few things to note:
- R8 is currently experimental, but is becoming default in AS 3.4
- R8 results in a decent decrease in bytecode size
- R8 necessitates switching off proguard-optimize, as that config nukes
  the line number table even with -keepattributes LineNumberTable.
  Hopefully that will be fixed and optimize can be re-enabled for
  even more size savings.
- No instability has been observed, but if any crops up I will revert
2019-01-12 16:57:20 -05:00

33 lines
737 B
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
resConfigs "en_US", "cs", "tr", "ca", "ko", "pl", "it",
"eo", "ru", "zh_CN", "de", "fr", "es", "pt", "fi", "hu", "in"
minSdkVersion 8
targetSdkVersion 28
}
buildTypes {
debug {
applicationIdSuffix ".indev"
versionNameSuffix '-INDEV'
}
release {
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation project(':SPD-classes')
repositories {
google()
jcenter()
}
}