Skip to content

Commit ec68fbd

Browse files
committed
chore: update spring to 3.3.1
1 parent 9bf6725 commit ec68fbd

File tree

7 files changed

+19
-32
lines changed

7 files changed

+19
-32
lines changed

build.gradle

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
plugins {
22
id 'java'
3-
id 'org.springframework.boot' version '3.2.5'
4-
id 'io.spring.dependency-management' version '1.1.4'
3+
id 'org.springframework.boot' version '3.3.1'
4+
id 'io.spring.dependency-management' version '1.1.5'
55
}
66

77
group = 'com.example'
88
version = '0.0.1-SNAPSHOT'
99

1010
java {
11-
sourceCompatibility = '21'
11+
toolchain {
12+
languageVersion = JavaLanguageVersion.of(21)
13+
}
1214
}
1315

1416
repositories {
@@ -18,6 +20,7 @@ repositories {
1820
dependencies {
1921
implementation 'org.springframework.boot:spring-boot-starter-web'
2022
testImplementation 'org.springframework.boot:spring-boot-starter-test'
23+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
2124
}
2225

2326
tasks.named('test') {

docker-compose.yml

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ version: "3"
33
services:
44
web:
55
build: .
6-
platform: linux/amd64
76
ports:
87
- "8000:80"
98
volumes:

gradle/wrapper/gradle-wrapper.jar

-9 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

+1-17
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
1-
#
2-
# Copyright 2012-2024 the original author or authors.
3-
#
4-
# Licensed under the Apache License, Version 2.0 (the "License");
5-
# you may not use this file except in compliance with the License.
6-
# You may obtain a copy of the License at
7-
#
8-
# https://www.apache.org/licenses/LICENSE-2.0
9-
#
10-
# Unless required by applicable law or agreed to in writing, software
11-
# distributed under the License is distributed on an "AS IS" BASIS,
12-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
# See the License for the specific language governing permissions and
14-
# limitations under the License.
15-
#
16-
171
distributionBase=GRADLE_USER_HOME
182
distributionPath=wrapper/dists
19-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
204
networkTimeout=10000
215
validateDistributionUrl=true
226
zipStoreBase=GRADLE_USER_HOME

gradlew

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# Darwin, MinGW, and NonStop.
5656
#
5757
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5959
# within the Gradle project.
6060
#
6161
# You can find Gradle at https://github.com/gradle/gradle/.

gradlew.bat

+10-10
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
4343
%JAVA_EXE% -version >NUL 2>&1
4444
if %ERRORLEVEL% equ 0 goto execute
4545

46-
echo.
47-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48-
echo.
49-
echo Please set the JAVA_HOME variable in your environment to match the
50-
echo location of your Java installation.
46+
echo. 1>&2
47+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
48+
echo. 1>&2
49+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
50+
echo location of your Java installation. 1>&2
5151

5252
goto fail
5353

@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5757

5858
if exist "%JAVA_EXE%" goto execute
5959

60-
echo.
61-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62-
echo.
63-
echo Please set the JAVA_HOME variable in your environment to match the
64-
echo location of your Java installation.
60+
echo. 1>&2
61+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
62+
echo. 1>&2
63+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
64+
echo location of your Java installation. 1>&2
6565

6666
goto fail
6767

Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
server.port=80
2+
spring.application.name=demo

0 commit comments

Comments
 (0)