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 8
|
|
versionName "1.3-alpha"
|
|
testInstrumentationRunner "androidx.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 'androidx.legacy:legacy-support-core-ui:1.0.0'
|
|
implementation 'androidx.fragment:fragment:1.0.0'
|
|
implementation 'androidx.appcompat:appcompat:1.0.0'
|
|
implementation 'androidx.preference:preference:1.0.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'
|
|
}
|