diff options
author | Allan Wang <me@allanwang.ca> | 2019-06-07 15:39:28 -0400 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-06-07 15:39:28 -0400 |
commit | d30cdac9ca74ca5e202c681af228fa4ca3a8e389 (patch) | |
tree | d03866b74ef8146dbd900d20994de47a0de6c705 | |
parent | db3b6c08b42470bd77b1e8d867a708ca3466baef (diff) | |
download | kau-d30cdac9ca74ca5e202c681af228fa4ca3a8e389.tar.gz kau-d30cdac9ca74ca5e202c681af228fa4ca3a8e389.tar.bz2 kau-d30cdac9ca74ca5e202c681af228fa4ca3a8e389.zip |
Use javaversion constants for compile options
-rw-r--r-- | android-lib.gradle | 4 | ||||
-rw-r--r-- | sample/build.gradle | 4 |
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 { |