47 lines
1.6 KiB
Groovy
47 lines
1.6 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
buildToolsVersion '28.0.2'
|
|
defaultConfig {
|
|
applicationId "net.typeblog.shelter"
|
|
minSdkVersion 24
|
|
targetSdkVersion 28
|
|
versionCode 7
|
|
versionName "1.2"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
aaptOptions {
|
|
cruncherEnabled = false
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
lintOptions {
|
|
// We have community-contributed translations. Do not let them block releases.
|
|
disable 'MissingTranslation'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'com.android.support:support-core-ui:28.0.0-rc02'
|
|
implementation 'com.android.support:support-fragment:28.0.0-rc02'
|
|
implementation 'com.android.support:appcompat-v7:28.0.0-rc02'
|
|
implementation 'com.android.support:preference-v7:28.0.0-rc02'
|
|
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
|
implementation 'com.android.support:design:28.0.0-rc02'
|
|
implementation 'com.android.support:localbroadcastmanager:28.0.0-rc02'
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
|
}
|