Skip to content

Commit 67d23d5

Browse files
committed
Merge branch '3.4.x'
2 parents 231743e + 468a33e commit 67d23d5

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

gradle/wrapper/gradle-wrapper.jar

59 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ case "$( uname )" in #(
114114
NONSTOP* ) nonstop=true ;;
115115
esac
116116

117-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
117+
CLASSPATH="\\\"\\\""
118118

119119

120120
# Determine the Java command to use to start the JVM.
@@ -213,7 +213,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
213213
set -- \
214214
"-Dorg.gradle.appname=$APP_BASE_NAME" \
215215
-classpath "$CLASSPATH" \
216-
org.gradle.wrapper.GradleWrapperMain \
216+
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
217217
"$@"
218218

219219
# Stop when "xargs" is not available.

gradlew.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ goto fail
7070
:execute
7171
@rem Setup the command line
7272

73-
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73+
set CLASSPATH=
7474

7575

7676
@rem Execute Gradle
77-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
77+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
7878

7979
:end
8080
@rem End local scope for the variables with windows NT shell

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/plugin/KotlinPluginActionIntegrationTests.java

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -52,27 +52,31 @@ void noKotlinVersionPropertyWithoutKotlinPlugin() {
5252

5353
@Test
5454
void kotlinVersionPropertyIsSet() {
55+
expectConfigurationCacheRequestedDeprecationWarning();
5556
String output = this.gradleBuild.build("kotlinVersion", "dependencies", "--configuration", "compileClasspath")
5657
.getOutput();
5758
assertThat(output).containsPattern("Kotlin version: [0-9]\\.[0-9]\\.[0-9]+");
5859
}
5960

6061
@Test
6162
void kotlinCompileTasksUseJavaParametersFlagByDefault() {
63+
expectConfigurationCacheRequestedDeprecationWarning();
6264
assertThat(this.gradleBuild.build("kotlinCompileTasksJavaParameters").getOutput())
6365
.contains("compileKotlin java parameters: true")
6466
.contains("compileTestKotlin java parameters: true");
6567
}
6668

6769
@Test
6870
void kotlinCompileTasksCanOverrideDefaultJavaParametersFlag() {
71+
expectConfigurationCacheRequestedDeprecationWarning();
6972
assertThat(this.gradleBuild.build("kotlinCompileTasksJavaParameters").getOutput())
7073
.contains("compileKotlin java parameters: false")
7174
.contains("compileTestKotlin java parameters: false");
7275
}
7376

7477
@Test
7578
void taskConfigurationIsAvoided() throws IOException {
79+
expectConfigurationCacheRequestedDeprecationWarning();
7680
BuildResult result = this.gradleBuild.build("help");
7781
String output = result.getOutput();
7882
BufferedReader reader = new BufferedReader(new StringReader(output));
@@ -86,4 +90,9 @@ void taskConfigurationIsAvoided() throws IOException {
8690
assertThat(configured).containsExactlyInAnyOrder("help", "compileJava", "clean");
8791
}
8892

93+
private void expectConfigurationCacheRequestedDeprecationWarning() {
94+
this.gradleBuild.expectDeprecationWarningsWithAtLeastVersion("8.14")
95+
.expectDeprecationMessages("The StartParameter.isConfigurationCacheRequested property has been deprecated");
96+
}
97+
8998
}

0 commit comments

Comments
 (0)