summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/app-start-intent/build.gradle47
-rw-r--r--ui/common/build.gradle47
-rw-r--r--ui/png-icons/build.gradle42
3 files changed, 4 insertions, 132 deletions
diff --git a/ui/app-start-intent/build.gradle b/ui/app-start-intent/build.gradle
index b05569b04..5390b85d8 100644
--- a/ui/app-start-intent/build.gradle
+++ b/ui/app-start-intent/build.gradle
@@ -1,50 +1,5 @@
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 {
- disable 'GradleDependency'
- checkDependencies true
- warningsAsErrors true
- abortOnError true
- }
-}
+apply from: "../../common.gradle"
dependencies {
annotationProcessor "androidx.annotation:annotation:$annotationVersion"
diff --git a/ui/common/build.gradle b/ui/common/build.gradle
index b05569b04..5390b85d8 100644
--- a/ui/common/build.gradle
+++ b/ui/common/build.gradle
@@ -1,50 +1,5 @@
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 {
- disable 'GradleDependency'
- checkDependencies true
- warningsAsErrors true
- abortOnError true
- }
-}
+apply from: "../../common.gradle"
dependencies {
annotationProcessor "androidx.annotation:annotation:$annotationVersion"
diff --git a/ui/png-icons/build.gradle b/ui/png-icons/build.gradle
index cf13d882d..651d04f2e 100644
--- a/ui/png-icons/build.gradle
+++ b/ui/png-icons/build.gradle
@@ -1,48 +1,10 @@
apply plugin: "com.android.library"
+apply from: "../../common.gradle"
android {
- compileSdkVersion rootProject.ext.compileSdkVersion
-
defaultConfig {
- minSdkVersion rootProject.ext.minSdkVersion
- targetSdkVersion rootProject.ext.targetSdkVersion
-
vectorDrawables.useSupportLibrary false
- 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 {
- disable 'GradleDependency'
- warningsAsErrors true
- abortOnError true
+ vectorDrawables.generatedDensities = null
}
}