1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Update to Kotlin 2.2

This commit is contained in:
Rob Winch
2025-06-26 16:25:49 -05:00
parent 8fd2401a2e
commit 00ead7f24d
9 changed files with 33 additions and 43 deletions
+1 -12
View File
@@ -1,9 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import java.util.concurrent.Callable
apply plugin: 'io.spring.convention.spring-module'
apply plugin: 'kotlin'
apply plugin: 'security-kotlin'
dependencies {
management platform(project(":spring-security-dependencies"))
@@ -66,12 +64,3 @@ Callable<String> springVersion() {
return (Callable<String>) { project.configurations.compileClasspath.resolvedConfiguration.resolvedArtifacts
.find { it.name == 'spring-core' }.moduleVersion.id.version }
}
tasks.withType(KotlinCompile).configureEach {
kotlinOptions {
languageVersion = "1.7"
apiVersion = "1.7"
freeCompilerArgs = ["-Xjsr305=strict", "-Xsuppress-version-warnings"]
jvmTarget = "17"
}
}