Skip to content

Commit 30aab0a

Browse files
dejan2609dsyer
authored andcommitted
Maven and Gradle version upgrades
details: * Gradle changes: ** redundant 'apply' plugin declarations are removed ** java 'sourceCompatibility' removed in favor of 'toolchain' * Gradle version upgrade: 8.14 -->> 8.14.3 * Maven version upgrade: 3.9.9 -->> 3.9.10 related links: * https://docs.gradle.org/8.14.1/release-notes.html * https://docs.gradle.org/8.14.2/release-notes.html * https://docs.gradle.org/8.14.3/release-notes.html * https://maven.apache.org/docs/3.9.10/release-notes.html * https://committing-crimes.com/articles/2024-10-30-using-gradle-toolchains-properly * https://docs.gradle.org/8.14.3/userguide/building_java_projects.html#sec:java_cross_compilation Signed-off-by: dejan2609 <[email protected]>
1 parent f9399b7 commit 30aab0a

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.mvn/wrapper/maven-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# under the License.
1717
wrapperVersion=3.3.2
1818
distributionType=only-script
19-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.10/apache-maven-3.9.10-bin.zip

build.gradle

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
id 'java'
3+
id 'checkstyle'
34
id 'org.springframework.boot' version '3.5.0'
45
id 'io.spring.dependency-management' version '1.1.7'
56
id 'org.graalvm.buildtools.native' version '0.10.6'
@@ -8,17 +9,15 @@ plugins {
89
id "io.spring.nohttp" version "0.0.11"
910
}
1011

11-
apply plugin: 'java'
12-
apply plugin: 'checkstyle'
13-
apply plugin: 'io.spring.javaformat'
14-
1512
gradle.startParameter.excludedTaskNames += [ "checkFormatAot", "checkFormatAotTest" ]
1613

1714
group = 'org.springframework.samples'
1815
version = '3.5.0'
1916

2017
java {
21-
sourceCompatibility = JavaVersion.VERSION_17
18+
toolchain {
19+
languageVersion = JavaLanguageVersion.of(17)
20+
}
2221
}
2322

2423
repositories {
@@ -85,3 +84,8 @@ checkFormatAotTest.enabled = false
8584

8685
formatAot.enabled = false
8786
formatAotTest.enabled = false
87+
88+
wrapper {
89+
gradleVersion = "8.14.3"
90+
distributionType = Wrapper.DistributionType.ALL
91+
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
3+
distributionSha256Sum=ed1a8d686605fd7c23bdf62c7fc7add1c5b23b2bbc3721e661934ef4a4911d7c
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip
45
networkTimeout=10000
56
validateDistributionUrl=true
67
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)