File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
22import com.github.benmanes.gradle.versions.updates.gradle.GradleReleaseChannel
33import com.vanniktech.maven.publish.JavadocJar
44import com.vanniktech.maven.publish.KotlinJvm
5- import org.gradle.api.JavaVersion.VERSION_1_8
6- import org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_1_8
75
86plugins {
97 alias(libs.plugins.kotlin.jvm)
@@ -27,15 +25,11 @@ tasks.withType<Jar> {
2725 }
2826}
2927
30- java {
31- sourceCompatibility = VERSION_1_8
32- targetCompatibility = VERSION_1_8
33- }
34-
3528kotlin {
29+ jvmToolchain(8 )
30+
3631 compilerOptions {
3732 optIn.add(" kotlin.contracts.ExperimentalContracts" )
38- jvmTarget.set(JVM_1_8 )
3933 }
4034}
4135
You can’t perform that action at this time.
0 commit comments