1
0
mirror of https://github.com/chylex/IntelliJ-Inspection-Lens.git synced 2025-04-29 20:34:04 +02:00

Fix compiler configuration

This commit is contained in:
chylex 2023-05-20 16:06:54 +02:00
parent 0f49339ca2
commit 7432c57e95
Signed by: chylex
GPG Key ID: 4DE42C8F19A80548

View File

@ -18,6 +18,10 @@ dependencies {
testImplementation("org.junit.jupiter:junit-jupiter:5.9.0") testImplementation("org.junit.jupiter:junit-jupiter:5.9.0")
} }
kotlin {
jvmToolchain(17)
}
intellij { intellij {
version.set("2023.1") version.set("2023.1")
updateSinceUntilBuild.set(false) updateSinceUntilBuild.set(false)
@ -38,8 +42,7 @@ tasks.test {
} }
tasks.withType<KotlinCompile> { tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "17"
kotlinOptions.freeCompilerArgs = listOf( kotlinOptions.freeCompilerArgs = listOf(
"-Xjvm-default=enable" "-Xjvm-default=all"
) )
} }