mirror of https://github.com/apache/kafka.git
MINOR: Upgrade gradle to 8.1.1 (#13625)
Also upgrade gradle plugins: - `org.owasp.dependencycheck` gradle plugin to version `8.2.1` - `com.github.johnrengelman.shadow gradle` plugin to version `8.1.1` Gradle release notes: * https://docs.gradle.org/8.1.1/release-notes.html Reviewers: Ismael Juma <ismael@juma.me.uk>
This commit is contained in:
parent
9a36da12b7
commit
a7d0b3f753
|
@ -34,14 +34,14 @@ plugins {
|
|||
id 'com.github.ben-manes.versions' version '0.46.0'
|
||||
id 'idea'
|
||||
id 'java-library'
|
||||
id 'org.owasp.dependencycheck' version '8.1.2'
|
||||
id 'org.owasp.dependencycheck' version '8.2.1'
|
||||
id 'org.nosphere.apache.rat' version "0.8.0"
|
||||
id "io.swagger.core.v3.swagger-gradle-plugin" version "2.2.8"
|
||||
|
||||
id "com.github.spotbugs" version '5.0.13' apply false
|
||||
id 'org.gradle.test-retry' version '1.5.2' apply false
|
||||
id 'org.scoverage' version '7.0.1' apply false
|
||||
id 'com.github.johnrengelman.shadow' version '8.1.0' apply false
|
||||
id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
|
||||
id 'com.diffplug.spotless' version '6.14.0' apply false // 6.14.1 and newer require Java 11 at compile time, so we can't upgrade until AK 4.0
|
||||
}
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ versions += [
|
|||
commonsCli: "1.4",
|
||||
commonsValidator: "1.7",
|
||||
dropwizardMetrics: "4.1.12.1",
|
||||
gradle: "8.0.2",
|
||||
gradle: "8.1.1",
|
||||
grgit: "4.1.1",
|
||||
httpclient: "4.5.13",
|
||||
easymock: "4.3",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionSha=47a5bfed9ef814f90f8debcbbb315e8e7c654109acd224595ea39fca95c5d4da
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-all.zip
|
||||
distributionSha256Sum=5625a0ae20fe000d9225d000b36909c7a0e0e8dda61c19b12da769add847c975
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-all.zip
|
||||
networkTimeout=10000
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
|
|
@ -85,9 +85,6 @@ done
|
|||
APP_BASE_NAME=${0##*/}
|
||||
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD=maximum
|
||||
|
||||
|
@ -118,7 +115,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/v8.0.2/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/v8.1.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
|
||||
|
@ -210,6 +207,10 @@ if "$cygwin" || "$msys" ; then
|
|||
done
|
||||
fi
|
||||
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||
|
||||
# Collect all arguments for the java command;
|
||||
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
||||
# shell script including quotes and variable substitutions, so put them in
|
||||
|
|
Loading…
Reference in New Issue