Skip to content

Commit 90b9623

Browse files
ahndmalsdeleuze
authored andcommitted
Update to Spring Boot 3.0.3
1 parent d92911b commit 90b9623

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

build.gradle.kts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
22

33
plugins {
4-
id("org.springframework.boot") version "2.4.5"
5-
id("io.spring.dependency-management") version "1.0.11.RELEASE"
6-
kotlin("jvm") version "1.4.32"
7-
kotlin("plugin.spring") version "1.4.32"
4+
id("org.springframework.boot") version "3.0.3"
5+
id("io.spring.dependency-management") version "1.1.0"
6+
kotlin("jvm") version "1.7.22"
7+
kotlin("plugin.spring") version "1.7.22"
88
}
99

1010
group = "com.example.kotlin"
1111
version = "0.0.1-SNAPSHOT"
12-
java.sourceCompatibility = JavaVersion.VERSION_11
12+
java.sourceCompatibility = JavaVersion.VERSION_17
13+
1314

1415
repositories {
1516
mavenCentral()
16-
jcenter()
17-
maven { url = uri("https://repo.spring.io/milestone") }
1817
}
1918

2019
dependencies {
20+
implementation("org.springframework.boot:spring-boot-starter")
2121
implementation("org.springframework.boot:spring-boot-starter-actuator")
2222
implementation("org.springframework.boot:spring-boot-starter-thymeleaf")
2323
implementation("org.springframework.boot:spring-boot-starter-web")
@@ -31,6 +31,7 @@ dependencies {
3131
testImplementation("org.springframework.boot:spring-boot-starter-test") {
3232
exclude(group = "org.junit.vintage", module = "junit-vintage-engine")
3333
}
34+
3435
}
3536

3637
tasks.withType<Test> {
@@ -40,6 +41,6 @@ tasks.withType<Test> {
4041
tasks.withType<KotlinCompile> {
4142
kotlinOptions {
4243
freeCompilerArgs = listOf("-Xjsr305=strict")
43-
jvmTarget = "11"
44+
jvmTarget = "17"
4445
}
4546
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)