aboutsummaryrefslogtreecommitdiff
path: root/android-lib.gradle
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-09-11 13:44:39 -0700
committerGitHub <noreply@github.com>2021-09-11 13:44:39 -0700
commit777d22a2cd252c0cb6f6898c57b5e565f90d59a6 (patch)
tree82f18c8758e341ccc189e406da2c819c18ccf819 /android-lib.gradle
parent6492c0c9c1c008dc8cbd43ee5955d9955c782d91 (diff)
parentf406b888ff2108dee310260c29af8c3c2cce4f2d (diff)
downloadkau-777d22a2cd252c0cb6f6898c57b5e565f90d59a6.tar.gz
kau-777d22a2cd252c0cb6f6898c57b5e565f90d59a6.tar.bz2
kau-777d22a2cd252c0cb6f6898c57b5e565f90d59a6.zip
Merge pull request #262 from AllanWang/version
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 {