51 lines
1.8 KiB
Groovy
51 lines
1.8 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
defaultConfig {
|
|
applicationId "dummydomain.yetanothercallblocker"
|
|
minSdkVersion 14
|
|
targetSdkVersion 28
|
|
versionCode 3020
|
|
versionName "0.3.2"
|
|
}
|
|
signingConfigs {
|
|
def keystoreProperties = new Properties()
|
|
keystoreProperties.load(new FileInputStream(rootProject.file("keystore.properties")))
|
|
release {
|
|
storeFile file(keystoreProperties['storeFile'])
|
|
storePassword keystoreProperties['storePassword']
|
|
keyAlias keystoreProperties['keyAlias']
|
|
keyPassword keystoreProperties['keyPassword']
|
|
}
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
lintOptions {
|
|
disable 'MissingTranslation'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.slf4j:slf4j-api:1.7.29'
|
|
implementation 'com.github.tony19:logback-android:2.0.0'
|
|
//noinspection GradleDependency: 3.12.* is the latest version compatible with Android <5
|
|
implementation 'com.squareup.okhttp3:okhttp:3.12.6'
|
|
implementation 'commons-codec:commons-codec:1.12' // beware: a version included in Android is used instead
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
implementation 'androidx.work:work-runtime:2.2.0'
|
|
}
|