Skip to content

Commit

Permalink
Updated kotlin compile flags
Browse files Browse the repository at this point in the history
  • Loading branch information
milux committed Jun 10, 2024
1 parent 61660de commit aa9222b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import com.diffplug.gradle.spotless.SpotlessApply
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
import io.spring.gradle.dependencymanagement.dsl.DependencyManagementExtension
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

repositories {
Expand Down Expand Up @@ -109,9 +110,9 @@ subprojects {
}

tasks.withType<KotlinCompile> {
kotlinOptions {
compilerOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "17"
jvmTarget.set(JvmTarget.JVM_17)
}
}

Expand Down

0 comments on commit aa9222b

Please sign in to comment.