From 72696ae557f6f156fb13f68e1cdb33cbea6d4b44 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 16 May 2023 15:54:35 +0530 Subject: feat(build): raise target bytecode to Java 17 --- build-logic/build.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build-logic/build.gradle.kts') 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().configureEach { - sourceCompatibility = JavaVersion.VERSION_11.toString() - targetCompatibility = JavaVersion.VERSION_11.toString() + sourceCompatibility = JavaVersion.VERSION_17.toString() + targetCompatibility = JavaVersion.VERSION_17.toString() } tasks.withType().configureEach { kotlinOptions { - jvmTarget = JavaVersion.VERSION_11.toString() + jvmTarget = JavaVersion.VERSION_17.toString() freeCompilerArgs = freeCompilerArgs + listOf( -- cgit v1.2.3