Added laguage version

This commit is contained in:
Erik C. Thauvin 2023-09-13 13:04:29 -07:00
parent 080b7a971f
commit b6b7dabb50

View file

@ -8,7 +8,6 @@ import org.jetbrains.kotlin.gradle.targets.jvm.KotlinJvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
/** /**
* Base configuration for all Kotlin/Multiplatform conventions. * Base configuration for all Kotlin/Multiplatform conventions.
* *
@ -30,7 +29,7 @@ kotlin {
targets.configureEach { targets.configureEach {
compilations.configureEach { compilations.configureEach {
kotlinOptions { kotlinOptions {
// nothin' yet languageVersion = "1.5"
} }
} }
} }
@ -52,7 +51,7 @@ kotlin {
} }
} }
tasks { tasks {
withType<JavaCompile>().configureEach { withType<JavaCompile>().configureEach {
sourceCompatibility = JavaVersion.VERSION_11.toString() sourceCompatibility = JavaVersion.VERSION_11.toString()
targetCompatibility = JavaVersion.VERSION_11.toString() targetCompatibility = JavaVersion.VERSION_11.toString()
@ -70,4 +69,4 @@ kotlin {
events = setOf(TestLogEvent.PASSED, TestLogEvent.SKIPPED, TestLogEvent.FAILED) events = setOf(TestLogEvent.PASSED, TestLogEvent.SKIPPED, TestLogEvent.FAILED)
} }
} }
} }