summaryrefslogtreecommitdiff
path: root/build-logic/build.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-05-16 15:54:35 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-05-16 15:54:35 +0530
commit72696ae557f6f156fb13f68e1cdb33cbea6d4b44 (patch)
tree0b2c048572ea4f563ce883fe22f7ce561851ed3d /build-logic/build.gradle.kts
parent76efe73e281da218fcefa7b86838bd3be50c9563 (diff)
feat(build): raise target bytecode to Java 17
Diffstat (limited to 'build-logic/build.gradle.kts')
-rw-r--r--build-logic/build.gradle.kts6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-logic/build.gradle.kts b/build-logic/build.gradle.kts
index 14130749..0f3d9342 100644
--- a/build-logic/build.gradle.kts
+++ b/build-logic/build.gradle.kts
@@ -10,13 +10,13 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins { `kotlin-dsl` }
tasks.withType<JavaCompile>().configureEach {
- sourceCompatibility = JavaVersion.VERSION_11.toString()
- targetCompatibility = JavaVersion.VERSION_11.toString()
+ sourceCompatibility = JavaVersion.VERSION_17.toString()
+ targetCompatibility = JavaVersion.VERSION_17.toString()
}
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
- jvmTarget = JavaVersion.VERSION_11.toString()
+ jvmTarget = JavaVersion.VERSION_17.toString()
freeCompilerArgs =
freeCompilerArgs +
listOf(