File tree Expand file tree Collapse file tree 7 files changed +19
-32
lines changed Expand file tree Collapse file tree 7 files changed +19
-32
lines changed Original file line number Diff line number Diff line change 11plugins {
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
77group = ' com.example'
88version = ' 0.0.1-SNAPSHOT'
99
1010java {
11- sourceCompatibility = ' 21'
11+ toolchain {
12+ languageVersion = JavaLanguageVersion . of(21 )
13+ }
1214}
1315
1416repositories {
@@ -18,6 +20,7 @@ repositories {
1820dependencies {
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
2326tasks. named(' test' ) {
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ version: "3"
33services :
44 web :
55 build : .
6- platform : linux/amd64
76 ports :
87 - " 8000:80"
98 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-
171distributionBase =GRADLE_USER_HOME
182distributionPath =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
204networkTimeout =10000
215validateDistributionUrl =true
226zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 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/.
Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
4343%JAVA_EXE% -version > NUL 2 >& 1
4444if %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
5252goto fail
5353
@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5757
5858if 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
6666goto fail
6767
Original file line number Diff line number Diff line change 11server.port =80
2+ spring.application.name =demo
You can’t perform that action at this time.
0 commit comments