2021-02-07 11:29:39 +01:00
|
|
|
apply plugin: "com.android.library"
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion rootProject.ext.minSdkVersion
|
|
|
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
|
|
|
|
|
|
|
multiDexEnabled false
|
|
|
|
|
|
|
|
testApplicationId "de.danoeh.antennapod.core.tests"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile("proguard-android.txt")
|
|
|
|
}
|
|
|
|
debug {
|
|
|
|
// debug build has method count over 64k single-dex threshold.
|
|
|
|
// For building debug build to use on Android < 21 (pre-Android 5) devices,
|
|
|
|
// you need to manually change class
|
|
|
|
// de.danoeh.antennapod.PodcastApp to extend MultiDexApplication .
|
|
|
|
// See Issue #2813
|
|
|
|
multiDexEnabled true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
|
|
|
testOptions {
|
|
|
|
unitTests {
|
|
|
|
includeAndroidResources = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
lintOptions {
|
2021-03-01 16:53:31 +01:00
|
|
|
disable 'GradleDependency'
|
2021-04-17 17:25:45 +02:00
|
|
|
checkDependencies true
|
2021-02-07 11:29:39 +01:00
|
|
|
warningsAsErrors true
|
|
|
|
abortOnError true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
annotationProcessor "androidx.annotation:annotation:$annotationVersion"
|
|
|
|
implementation "androidx.appcompat:appcompat:$appcompatVersion"
|
|
|
|
}
|