Skip to content

Commit 66d176f

Browse files
Update kotlin version
Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent d384044 commit 66d176f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

config/spring-security-config.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ tasks.named('sourcesJar', Jar).configure {
155155

156156
tasks.withType(KotlinCompile).configureEach {
157157
kotlinOptions {
158-
languageVersion = "1.7"
159-
apiVersion = "1.7"
158+
languageVersion = "1.8"
159+
apiVersion = "1.8"
160160
freeCompilerArgs = ["-Xjsr305=strict", "-Xsuppress-version-warnings"]
161161
jvmTarget = "17"
162162
}

core/spring-security-core.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ Callable<String> springVersion() {
6969

7070
tasks.withType(KotlinCompile).configureEach {
7171
kotlinOptions {
72-
languageVersion = "1.7"
73-
apiVersion = "1.7"
72+
languageVersion = "1.8"
73+
apiVersion = "1.8"
7474
freeCompilerArgs = ["-Xjsr305=strict", "-Xsuppress-version-warnings"]
7575
jvmTarget = "17"
7676
}

docs/spring-security-docs.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ test {
103103

104104
tasks.withType(KotlinCompile).configureEach {
105105
kotlinOptions {
106-
languageVersion = "1.7"
107-
apiVersion = "1.7"
106+
languageVersion = "1.8"
107+
apiVersion = "1.8"
108108
freeCompilerArgs = ["-Xjsr305=strict", "-Xsuppress-version-warnings"]
109109
jvmTarget = "17"
110110
}

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ org-apache-maven-resolver = "1.9.23"
88
org-aspectj = "1.9.24"
99
org-bouncycastle = "1.80"
1010
org-eclipse-jetty = "11.0.25"
11-
org-jetbrains-kotlin = "1.9.25"
11+
org-jetbrains-kotlin = "2.2.0"
1212
org-jetbrains-kotlinx = "1.10.2"
1313
org-mockito = "5.17.0"
1414
org-opensaml = "4.3.2"
@@ -67,7 +67,7 @@ org-hamcrest = "org.hamcrest:hamcrest:2.2"
6767
org-hibernate-orm-hibernate-core = "org.hibernate.orm:hibernate-core:7.0.1.Final"
6868
org-hsqldb = "org.hsqldb:hsqldb:2.7.4"
6969
org-jetbrains-kotlin-kotlin-bom = { module = "org.jetbrains.kotlin:kotlin-bom", version.ref = "org-jetbrains-kotlin" }
70-
org-jetbrains-kotlin-kotlin-gradle-plugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.25"
70+
org-jetbrains-kotlin-kotlin-gradle-plugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:2.2.0"
7171
org-jetbrains-kotlinx-kotlinx-coroutines-bom = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-bom", version.ref = "org-jetbrains-kotlinx" }
7272
org-junit-junit-bom = "org.junit:junit-bom:5.12.2"
7373
org-mockito-mockito-bom = { module = "org.mockito:mockito-bom", version.ref = "org-mockito" }

0 commit comments

Comments
 (0)