summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2023-06-06 17:28:59 +0200
committerArne Schwabe <arne@rfc2549.org>2023-06-06 17:28:59 +0200
commitff9162049e5926a3396eb2c38e505e384468596f (patch)
tree4ee88d6eac65411ca0a16f94dff1d198f649d7bb
parent242b90fa52ccb863c3ea001fa4e7ce5a21939a0b (diff)
ensure kotlin and java target the same JVM version (17)
-rw-r--r--main/build.gradle.kts6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/build.gradle.kts b/main/build.gradle.kts
index d709d98b..1b63596a 100644
--- a/main/build.gradle.kts
+++ b/main/build.gradle.kts
@@ -139,12 +139,14 @@ android {
}
compileOptions {
- targetCompatibility = JavaVersion.VERSION_1_8
- sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_17
}
+ kotlinOptions {
+ jvmTarget = "17"
+ }
+
splits {
abi {
isEnable = true