aboutsummaryrefslogtreecommitdiff
path: root/android-lib.gradle
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-04-17 15:32:32 -0700
committerGitHub <noreply@github.com>2021-04-17 15:32:32 -0700
commit12f4725a90762aeeca8936b6449445e800b2f09a (patch)
tree584d1347abf542361c327519942080c75c16a889 /android-lib.gradle
parent3ec75195a25f6e502ceca7a89aa66f6313e263e6 (diff)
parent1057b6a113c7b2fa1320ce0378e34484f901ee2f (diff)
downloadkau-12f4725a90762aeeca8936b6449445e800b2f09a.tar.gz
kau-12f4725a90762aeeca8936b6449445e800b2f09a.tar.bz2
kau-12f4725a90762aeeca8936b6449445e800b2f09a.zip
Merge pull request #261 from AllanWang/versions
Diffstat (limited to 'android-lib.gradle')
-rw-r--r--android-lib.gradle9
1 files changed, 7 insertions, 2 deletions
diff --git a/android-lib.gradle b/android-lib.gradle
index 429fd46..44ed40b 100644
--- a/android-lib.gradle
+++ b/android-lib.gradle
@@ -3,7 +3,7 @@ import kau.Versions
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
-apply plugin: 'kotlin-android-extensions'
+apply plugin: 'kotlin-parcelize'
apply plugin: 'com.github.dcendents.android-maven'
//apply plugin: 'com.getkeepsafe.dexcount'
group = "ca.allanwang"
@@ -36,6 +36,10 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
+ buildFeatures {
+ viewBinding = true
+ }
+
buildTypes {
release {
minifyEnabled false
@@ -44,7 +48,7 @@ android {
}
lintOptions {
- warningsAsErrors true
+ // warningsAsErrors true
disable 'UnusedResources',
'ContentDescription',
'RtlSymmetry',
@@ -62,6 +66,7 @@ android {
pickFirst 'META-INF/core_release.kotlin_module'
pickFirst 'META-INF/library_release.kotlin_module'
pickFirst 'META-INF/library-core_release.kotlin_module'
+ exclude "**/module-info.class"
}
compileOptions {