1
0
mirror of synced 2026-05-22 13:23:17 +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,10 +1,8 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id 'org.antora' version '1.0.0'
id 'io.spring.antora.generate-antora-yml' version '0.0.1'
id 'io.spring.convention.repository'
id 'kotlin'
id 'security-kotlin'
}
apply plugin: 'io.spring.convention.docs'
@@ -100,12 +98,3 @@ def resolvedVersions(Configuration configuration) {
test {
useJUnitPlatform()
}
tasks.withType(KotlinCompile).configureEach {
kotlinOptions {
languageVersion = "1.7"
apiVersion = "1.7"
freeCompilerArgs = ["-Xjsr305=strict", "-Xsuppress-version-warnings"]
jvmTarget = "17"
}
}