Explorar el Código

Update Kotlin to 1.7.10

Closes gh-11374, gh-11534
Anbu Sampath hace 3 años
padre
commit
0c14a36ad6

+ 2 - 2
config/spring-security-config.gradle

@@ -110,8 +110,8 @@ rncToXsd {
 
 tasks.withType(KotlinCompile).configureEach {
 	kotlinOptions {
-		languageVersion = "1.6"
-		apiVersion = "1.6"
+		languageVersion = "1.7"
+		apiVersion = "1.7"
 		freeCompilerArgs = ["-Xjsr305=strict", "-Xsuppress-version-warnings"]
 		jvmTarget = "17"
 	}

+ 1 - 0
config/src/main/kotlin/org/springframework/security/config/annotation/web/session/SessionFixationDsl.kt

@@ -73,6 +73,7 @@ class SessionFixationDsl {
                     SessionFixationStrategy.MIGRATE -> sessionFixation.migrateSession()
                     SessionFixationStrategy.CHANGE_ID -> sessionFixation.changeSessionId()
                     SessionFixationStrategy.NONE -> sessionFixation.none()
+                    null -> null
                 }
             }
         }

+ 1 - 1
gradle.properties

@@ -4,7 +4,7 @@ springBootVersion=2.4.2
 springFrameworkVersion=6.0.0-SNAPSHOT
 openSamlVersion=3.4.6
 version=6.0.0-SNAPSHOT
-kotlinVersion=1.6.21
+kotlinVersion=1.7.10
 samplesBranch=main
 org.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError
 org.gradle.parallel=true