From d7bf9706b21f2e82e0c09c30904a90cdce871598 Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Fri, 6 Sep 2024 14:06:44 +0200 Subject: [PATCH] set -relase=8 for java, bump Kotlin to 1.7.21 --- build.gradle.kts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index b5efc16..a8fa6eb 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -9,7 +9,7 @@ buildscript { mavenCentral() } dependencies { - classpath(kotlin("gradle-plugin", "1.5.30")) + classpath(kotlin("gradle-plugin", "1.7.21")) classpath("com.vanniktech:gradle-maven-publish-plugin:0.17.0") } } @@ -22,11 +22,13 @@ allprojects { tasks.withType(JavaCompile::class.java) { sourceCompatibility = "1.8" targetCompatibility = "1.8" + options.release.set(8) } tasks.withType(KotlinCompile::class.java) { kotlinOptions { jvmTarget = "1.8" freeCompilerArgs += "-Xopt-in=kotlin.ExperimentalUnsignedTypes" + freeCompilerArgs += "-Xjdk-release=1.8" } } tasks.withType(Task::class) {