Skip to content

Commit d24a69c

Browse files
author
Jay Bryant
committed
Upgraded to Spring Boot 3.0.0
to get onto the new major version of Spring Boot.
1 parent 58f5ee0 commit d24a69c

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

complete/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
plugins {
2-
id 'org.springframework.boot' version '2.7.1'
3-
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
2+
id 'org.springframework.boot' version '3.0.0'
3+
id 'io.spring.dependency-management' version '1.1.0'
44
id 'java'
55
}
66

77
group = 'com.example'
88
version = '0.0.1-SNAPSHOT'
9-
sourceCompatibility = '1.8'
9+
sourceCompatibility = '17'
1010

1111
repositories {
1212
mavenCentral()

complete/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>2.7.1</version>
8+
<version>3.0.0</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>
@@ -14,7 +14,7 @@
1414
<name>rest-service-complete</name>
1515
<description>Demo project for Spring Boot</description>
1616
<properties>
17-
<java.version>1.8</java.version>
17+
<java.version>17</java.version>
1818
</properties>
1919
<dependencies>
2020
<dependency>

initial/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
plugins {
2-
id 'org.springframework.boot' version '2.7.1'
3-
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
2+
id 'org.springframework.boot' version '3.0.0'
3+
id 'io.spring.dependency-management' version '1.1.0'
44
id 'java'
55
}
66

77
group = 'com.example'
88
version = '0.0.1-SNAPSHOT'
9-
sourceCompatibility = '1.8'
9+
sourceCompatibility = '17'
1010

1111
repositories {
1212
mavenCentral()

initial/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>2.7.1</version>
8+
<version>3.0.0</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.example</groupId>
@@ -14,7 +14,7 @@
1414
<name>rest-service-initial</name>
1515
<description>Demo project for Spring Boot</description>
1616
<properties>
17-
<java.version>1.8</java.version>
17+
<java.version>17</java.version>
1818
</properties>
1919
<dependencies>
2020
<dependency>

0 commit comments

Comments
 (0)