mirror of https://github.com/apache/kafka.git
MINOR: Upgrade gradle to 7.5.1 and bump other build/test dependencies (#12495)
Gradle 7.5.1: * Important bug fixes including https://github.com/gradle/gradle/issues/21400 * Release notes: https://docs.gradle.org/7.5.1/release-notes.html JUnit 5.9.0 * Support for open test reporting and configurable thread mode for @Timeout * Release notes: https://junit.org/junit5/docs/current/release-notes/index.html#release-notes-5.9.0 test-retry-gradle-plugin 1.4.0 * Support for Gradle 7.6 and minor fixes * Release notes: * https://github.com/gradle/test-retry-gradle-plugin/releases/tag/v1.3.2 * https://github.com/gradle/test-retry-gradle-plugin/releases/tag/v1.4.0 spotbugs-gradle-plugin * Minor fixes * Release notes: * https://github.com/spotbugs/spotbugs-gradle-plugin/releases/tag/5.0.7 * https://github.com/spotbugs/spotbugs-gradle-plugin/releases/tag/5.0.8 * https://github.com/spotbugs/spotbugs-gradle-plugin/releases/tag/5.0.9 dependency-check-gradle-plugin * Minor improvements and false positive fixes * Release notes: * https://github.com/jeremylong/DependencyCheck/releases/tag/v7.0.4 * https://github.com/jeremylong/DependencyCheck/releases/tag/v7.1.0 rat-gradle-plugin * Minor fixes * Diff: https://github.com/eskatos/creadur-rat-gradle/compare/v0.7.0...v0.7.1 Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com>
This commit is contained in:
parent
163d00b3e6
commit
3494d6eea3
|
@ -34,11 +34,11 @@ plugins {
|
||||||
id 'com.github.ben-manes.versions' version '0.42.0'
|
id 'com.github.ben-manes.versions' version '0.42.0'
|
||||||
id 'idea'
|
id 'idea'
|
||||||
id 'java-library'
|
id 'java-library'
|
||||||
id 'org.owasp.dependencycheck' version '7.0.3'
|
id 'org.owasp.dependencycheck' version '7.1.1'
|
||||||
id 'org.nosphere.apache.rat' version "0.7.0"
|
id 'org.nosphere.apache.rat' version "0.7.1"
|
||||||
|
|
||||||
id "com.github.spotbugs" version '5.0.6' apply false
|
id "com.github.spotbugs" version '5.0.9' apply false
|
||||||
id 'org.gradle.test-retry' version '1.3.1' apply false
|
id 'org.gradle.test-retry' version '1.4.0' apply false
|
||||||
id 'org.scoverage' version '7.0.0' apply false
|
id 'org.scoverage' version '7.0.0' apply false
|
||||||
id 'com.github.johnrengelman.shadow' version '7.1.2' apply false
|
id 'com.github.johnrengelman.shadow' version '7.1.2' apply false
|
||||||
id "io.swagger.core.v3.swagger-gradle-plugin" version "2.2.0"
|
id "io.swagger.core.v3.swagger-gradle-plugin" version "2.2.0"
|
||||||
|
|
|
@ -62,7 +62,7 @@ versions += [
|
||||||
checkstyle: "8.36.2",
|
checkstyle: "8.36.2",
|
||||||
commonsCli: "1.4",
|
commonsCli: "1.4",
|
||||||
dropwizardMetrics: "4.1.12.1",
|
dropwizardMetrics: "4.1.12.1",
|
||||||
gradle: "7.5",
|
gradle: "7.5.1",
|
||||||
grgit: "4.1.1",
|
grgit: "4.1.1",
|
||||||
httpclient: "4.5.13",
|
httpclient: "4.5.13",
|
||||||
easymock: "4.3",
|
easymock: "4.3",
|
||||||
|
@ -81,7 +81,7 @@ versions += [
|
||||||
jfreechart: "1.0.0",
|
jfreechart: "1.0.0",
|
||||||
jopt: "5.0.4",
|
jopt: "5.0.4",
|
||||||
jose4j: "0.7.9",
|
jose4j: "0.7.9",
|
||||||
junit: "5.8.2",
|
junit: "5.9.0",
|
||||||
jqwik: "1.6.5",
|
jqwik: "1.6.5",
|
||||||
kafka_0100: "0.10.0.1",
|
kafka_0100: "0.10.0.1",
|
||||||
kafka_0101: "0.10.1.1",
|
kafka_0101: "0.10.1.1",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionSha256Sum=97a52d145762adc241bad7fd18289bf7f6801e08ece6badf80402fe2b9f250b1
|
distributionSha=db9c8211ed63f61f60292c69e80d89196f9eb36665e369e7f00ac4cc841c2219
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
|
@ -118,7 +118,7 @@ esac
|
||||||
# Loop in case we encounter an error.
|
# Loop in case we encounter an error.
|
||||||
for attempt in 1 2 3; do
|
for attempt in 1 2 3; do
|
||||||
if [ ! -e "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" ]; then
|
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/v7.5.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/v7.5.1/gradle/wrapper/gradle-wrapper.jar"; then
|
||||||
rm -f "$APP_HOME/gradle/wrapper/gradle-wrapper.jar"
|
rm -f "$APP_HOME/gradle/wrapper/gradle-wrapper.jar"
|
||||||
# Pause for a bit before looping in case the server throttled us.
|
# Pause for a bit before looping in case the server throttled us.
|
||||||
sleep 5
|
sleep 5
|
||||||
|
@ -218,6 +218,12 @@ set -- \
|
||||||
org.gradle.wrapper.GradleWrapperMain \
|
org.gradle.wrapper.GradleWrapperMain \
|
||||||
"$@"
|
"$@"
|
||||||
|
|
||||||
|
# Stop when "xargs" is not available.
|
||||||
|
if ! command -v xargs >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
die "xargs is not available"
|
||||||
|
fi
|
||||||
|
|
||||||
# Use "xargs" to parse quoted args.
|
# Use "xargs" to parse quoted args.
|
||||||
#
|
#
|
||||||
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
||||||
|
|
Loading…
Reference in New Issue