File tree Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change
1
+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21
1
2
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2
3
3
4
repositories {
@@ -9,8 +10,8 @@ repositories {
9
10
plugins {
10
11
id(" org.springframework.boot" ) version " 3.3.0-SNAPSHOT"
11
12
id(" io.spring.dependency-management" ) version " 1.1.4"
12
- kotlin(" jvm" ) version " 2.0.0-Beta4 "
13
- kotlin(" plugin.spring" ) version " 2.0.0-Beta4 "
13
+ kotlin(" jvm" ) version " 2.0.0-Beta5 "
14
+ kotlin(" plugin.spring" ) version " 2.0.0-Beta5 "
14
15
}
15
16
dependencies {
16
17
implementation(" org.springframework.boot:spring-boot-starter-web" )
@@ -21,13 +22,15 @@ dependencies {
21
22
testRuntimeOnly(" org.junit.platform:junit-platform-launcher" )
22
23
}
23
24
tasks.withType<KotlinCompile > {
24
- kotlinOptions.jvmTarget = " 21"
25
- kotlinOptions.freeCompilerArgs + = listOf (
26
- " -Xjsr305=strict" ,
27
- " -Xvalue-classes" ,
28
- " -opt-in=kotlin.ExperimentalStdlibApi" ,
29
- " -opt-in=kotlin.time.ExperimentalTime"
30
- )
25
+ compilerOptions {
26
+ jvmTarget = JVM_21
27
+ freeCompilerArgs.addAll(
28
+ " -Xjsr305=strict" ,
29
+ " -Xvalue-classes" ,
30
+ " -opt-in=kotlin.ExperimentalStdlibApi" ,
31
+ " -opt-in=kotlin.time.ExperimentalTime"
32
+ )
33
+ }
31
34
}
32
35
tasks.withType<JavaCompile > {
33
36
sourceCompatibility = " 21"
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.6 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.7 -bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments