Our APK size stays at 1.1MB with minification enabled - which doesn't seem to break us anymore. And ant is dead, so... let's obey gradle.
33 lines
682 B
Groovy
33 lines
682 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
lintOptions {
|
|
disable 'MissingTranslation'
|
|
disable 'ExtraTranslation'
|
|
}
|
|
|
|
compileSdkVersion 27
|
|
|
|
defaultConfig {
|
|
applicationId "ch.blinkenlights.android.vanilla"
|
|
minSdkVersion 15
|
|
targetSdkVersion 27
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
}
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.android.support:support-core-ui:27.1.1'
|
|
compileOnly 'com.android.support:support-annotations:27.1.1'
|
|
}
|