aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-06-07 15:39:28 -0400
committerAllan Wang <me@allanwang.ca>2019-06-07 15:39:28 -0400
commitd30cdac9ca74ca5e202c681af228fa4ca3a8e389 (patch)
treed03866b74ef8146dbd900d20994de47a0de6c705
parentdb3b6c08b42470bd77b1e8d867a708ca3466baef (diff)
downloadkau-d30cdac9ca74ca5e202c681af228fa4ca3a8e389.tar.gz
kau-d30cdac9ca74ca5e202c681af228fa4ca3a8e389.tar.bz2
kau-d30cdac9ca74ca5e202c681af228fa4ca3a8e389.zip
Use javaversion constants for compile options
-rw-r--r--android-lib.gradle4
-rw-r--r--sample/build.gradle4
2 files changed, 4 insertions, 4 deletions
diff --git a/android-lib.gradle b/android-lib.gradle
index 2d44be1..90ec6bf 100644
--- a/android-lib.gradle
+++ b/android-lib.gradle
@@ -62,8 +62,8 @@ android {
}
compileOptions {
- sourceCompatibility '1.8'
- targetCompatibility '1.8'
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
}
sourceSets {
diff --git a/sample/build.gradle b/sample/build.gradle
index e31a312..11be396 100644
--- a/sample/build.gradle
+++ b/sample/build.gradle
@@ -81,8 +81,8 @@ android {
}
compileOptions {
- sourceCompatibility '1.8'
- targetCompatibility '1.8'
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
}
sourceSets {