File tree 7 files changed +19
-32
lines changed
7 files changed +19
-32
lines changed Original file line number Diff line number Diff line change 1
1
plugins {
2
2
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 '
5
5
}
6
6
7
7
group = ' com.example'
8
8
version = ' 0.0.1-SNAPSHOT'
9
9
10
10
java {
11
- sourceCompatibility = ' 21'
11
+ toolchain {
12
+ languageVersion = JavaLanguageVersion . of(21 )
13
+ }
12
14
}
13
15
14
16
repositories {
@@ -18,6 +20,7 @@ repositories {
18
20
dependencies {
19
21
implementation ' org.springframework.boot:spring-boot-starter-web'
20
22
testImplementation ' org.springframework.boot:spring-boot-starter-test'
23
+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
21
24
}
22
25
23
26
tasks. named(' test' ) {
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ version: "3"
3
3
services :
4
4
web :
5
5
build : .
6
- platform : linux/amd64
7
6
ports :
8
7
- " 8000:80"
9
8
volumes :
Original file line number Diff line number Diff line change 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
-
17
1
distributionBase =GRADLE_USER_HOME
18
2
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
20
4
networkTimeout =10000
21
5
validateDistributionUrl =true
22
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 55
55
# Darwin, MinGW, and NonStop.
56
56
#
57
57
# (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
59
59
# within the Gradle project.
60
60
#
61
61
# You can find Gradle at https://github.com/gradle/gradle/.
Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
43
43
%JAVA_EXE% -version > NUL 2 >& 1
44
44
if %ERRORLEVEL% equ 0 goto execute
45
45
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
51
51
52
52
goto fail
53
53
@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
57
57
58
58
if exist " %JAVA_EXE% " goto execute
59
59
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
65
65
66
66
goto fail
67
67
Original file line number Diff line number Diff line change 1
1
server.port =80
2
+ spring.application.name =demo
You can’t perform that action at this time.
0 commit comments