aboutsummaryrefslogtreecommitdiff
path: root/android-lib.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'android-lib.gradle')
-rw-r--r--android-lib.gradle20
1 files changed, 14 insertions, 6 deletions
diff --git a/android-lib.gradle b/android-lib.gradle
index 44ed40b..83813ca 100644
--- a/android-lib.gradle
+++ b/android-lib.gradle
@@ -4,7 +4,6 @@ import kau.Versions
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-parcelize'
-apply plugin: 'com.github.dcendents.android-maven'
//apply plugin: 'com.getkeepsafe.dexcount'
group = "ca.allanwang"
@@ -55,8 +54,17 @@ android {
'RtlHardcoded',
'RtlEnabled',
'Overdraw',
- 'MissingTranslation'
-
+ 'MissingTranslation',
+ 'MissingQuantity',
+ 'UnspecifiedImmutableFlag',
+ 'QueryPermissionsNeeded',
+ 'AnnotateVersionCheck',
+ 'Recycle',
+ 'MissingSuperCall',
+ 'UnsafeExperimentalUsageError',
+ 'UnsafeExperimentalUsageWarning'
+
+ abortOnError false
xmlReport false
textReport true
textOutput 'stdout'
@@ -70,12 +78,12 @@ android {
}
compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
+ sourceCompatibility Versions.java
+ targetCompatibility Versions.java
}
kotlinOptions {
- jvmTarget = JavaVersion.VERSION_1_8.toString()
+ jvmTarget = Versions.java.toString()
}
sourceSets {