50 lines
1.7 KiB
Groovy
50 lines
1.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
buildToolsVersion '30.0.2'
|
|
defaultConfig {
|
|
applicationId "net.typeblog.shelter"
|
|
minSdkVersion 24
|
|
targetSdkVersion 30
|
|
versionCode 16
|
|
versionName "1.6-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'
|
|
// We don't need Google App Indexing
|
|
disable 'GoogleAppIndexingWarning'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'androidx.legacy:legacy-support-core-ui:1.0.0'
|
|
implementation 'androidx.fragment:fragment:1.2.5'
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
implementation 'androidx.preference:preference:1.1.1'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta7'
|
|
implementation 'com.google.android.material:material:1.1.0'
|
|
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
|
|
implementation 'mobi.upod:time-duration-picker:1.1.3'
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'androidx.test:runner:1.3.0-rc01'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-rc01'
|
|
}
|