diff options
author | ByteHamster <info@bytehamster.com> | 2021-02-12 21:00:39 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2021-02-12 21:00:39 +0100 |
commit | 010ed376cd4b8935736dec6a3be052f93ed18b20 (patch) | |
tree | 3c34bd6af92ba87a794e2f4eb1e6a5b15a8a8ee2 /ui/common/build.gradle | |
parent | 87b149b7647d61f52a57f67a2519e248bf1e7880 (diff) | |
download | AntennaPod-010ed376cd4b8935736dec6a3be052f93ed18b20.zip |
Move basic views to new module
Diffstat (limited to 'ui/common/build.gradle')
-rw-r--r-- | ui/common/build.gradle | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/ui/common/build.gradle b/ui/common/build.gradle new file mode 100644 index 000000000..fabd8937f --- /dev/null +++ b/ui/common/build.gradle @@ -0,0 +1,50 @@ +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 { + warningsAsErrors true + abortOnError true + } +} + +dependencies { + annotationProcessor "androidx.annotation:annotation:$annotationVersion" + implementation "androidx.appcompat:appcompat:$appcompatVersion" +} |