mirror of https://github.com/apache/kafka.git
Update Gradle to 6.4.1 (#8678)
This fixes critical bugs in Gradle 6.4: * Regression: Different daemons are used between IDE and CLI builds for the same project * Regression: Main-Class attribute always added to jar manifest when using application plugin * Fix potential NPE if code is executed concurrently More details: https://github.com/gradle/gradle/releases/tag/v6.4.1 Reviewers: Manikumar Reddy <manikumar@confluent.io>
This commit is contained in:
parent
78e18b575c
commit
2d37c8c844
|
@ -61,7 +61,7 @@ versions += [
|
|||
bcpkix: "1.64",
|
||||
checkstyle: "8.20",
|
||||
commonsCli: "1.4",
|
||||
gradle: "6.4",
|
||||
gradle: "6.4.1",
|
||||
gradleVersionsPlugin: "0.28.0",
|
||||
grgit: "4.0.1",
|
||||
httpclient: "4.5.11",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4.1-all.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
|
|
@ -84,7 +84,7 @@ esac
|
|||
# Loop in case we encounter an error.
|
||||
for attempt in 1 2 3; do
|
||||
if [ ! -e $APP_HOME/gradle/wrapper/gradle-wrapper.jar ]; then
|
||||
if ! curl -s -S --retry 3 -L -o "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" "https://raw.githubusercontent.com/gradle/gradle/v6.3.0/gradle/wrapper/gradle-wrapper.jar"; then
|
||||
if ! curl -s -S --retry 3 -L -o "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" "https://raw.githubusercontent.com/gradle/gradle/v6.4.1/gradle/wrapper/gradle-wrapper.jar"; then
|
||||
rm -f "$APP_HOME/gradle/wrapper/gradle-wrapper.jar"
|
||||
# Pause for a bit before looping in case the server throttled us.
|
||||
sleep 5
|
||||
|
@ -95,6 +95,7 @@ done
|
|||
|
||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
|
@ -142,6 +143,7 @@ fi
|
|||
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
|
||||
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
||||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
||||
|
||||
JAVACMD=`cygpath --unix "$JAVACMD"`
|
||||
|
||||
# We build the pattern for arguments to be converted via cygpath
|
||||
|
|
Loading…
Reference in New Issue