Skip to content

Commit 3bea5bd

Browse files
committed
Update target compatibility to JVM_17
1 parent 21aaa5d commit 3bea5bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build-logic/convention/src/main/java/JvmLibraryConventionPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class JvmLibraryConventionPlugin : Plugin<Project> {
1212
}
1313
extensions.configure<KotlinJvmProjectExtension> {
1414
compilerOptions {
15-
jvmTarget.set(JvmTarget.JVM_11)
15+
jvmTarget.set(JvmTarget.JVM_17)
1616
}
1717
}
1818
}

build-logic/convention/src/main/java/com/rendox/routinetracker/KotlinAndroid.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ internal fun Project.configureKotlinAndroid(
2020
// Up to Java 11 APIs are available through desugaring
2121
// https://developer.android.com/studio/write/java11-minimal-support-table
2222
sourceCompatibility = JavaVersion.VERSION_11
23-
targetCompatibility = JavaVersion.VERSION_11
23+
targetCompatibility = JavaVersion.VERSION_17
2424
}
2525
}
2626

@@ -34,7 +34,7 @@ internal fun configureKotlinAndroid(
3434
) {
3535
extension.apply {
3636
compilerOptions {
37-
jvmTarget.set(JvmTarget.JVM_11)
37+
jvmTarget.set(JvmTarget.JVM_17)
3838
}
3939
}
4040
}

0 commit comments

Comments
 (0)