Skip to content

Commit db25d8e

Browse files
committed
[KAFKA-19174] [Work in progress] Gradle version upgrade 8 -->> 9
1 parent 6e4e0df commit db25d8e

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

gradle/dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ versions += [
5959
checkstyle: project.hasProperty('checkstyleVersion') ? checkstyleVersion : "10.20.2",
6060
commonsValidator: "1.9.0",
6161
classgraph: "4.8.173",
62-
gradle: "8.10.2",
62+
gradle: "9.0-milestone-2",
6363
grgit: "4.1.1",
6464
httpclient: "4.5.14",
6565
jackson: "2.16.2",

gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionSha256Sum=2ab88d6de2c23e6adae7363ae6e29cbdd2a709e992929b48b6530fd0c7133bd6
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
3+
distributionSha256Sum=0d747eb84672da726d35caa150ef094a43393007091b71a2ea23fb50d1d0b0ad
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0-milestone-2-all.zip
55
networkTimeout=10000
66
validateDistributionUrl=true
77
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -55,7 +57,7 @@
5557
# Darwin, MinGW, and NonStop.
5658
#
5759
# (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
60+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5961
# within the Gradle project.
6062
#
6163
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,8 @@ done
8486
# shellcheck disable=SC2034
8587
APP_BASE_NAME=${0##*/}
8688
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90+
' "$PWD" ) || exit
8891

8992
# Use the maximum available, or set MAX_FD != -1 to use that value.
9093
MAX_FD=maximum
@@ -116,7 +119,7 @@ esac
116119
# Loop in case we encounter an error.
117120
for attempt in 1 2 3; do
118121
if [ ! -e "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" ]; then
119-
if ! curl -s -S --retry 3 -L -o "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" "https://raw.githubusercontent.com/gradle/gradle/v8.10.2/gradle/wrapper/gradle-wrapper.jar"; then
122+
if ! curl -s -S --retry 3 -L -o "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" "https://raw.githubusercontent.com/gradle/gradle/v9.0-milestone-2.0/gradle/wrapper/gradle-wrapper.jar"; then
120123
rm -f "$APP_HOME/gradle/wrapper/gradle-wrapper.jar"
121124
# Pause for a bit before looping in case the server throttled us.
122125
sleep 5

0 commit comments

Comments
 (0)