mirror of https://github.com/apache/kafka.git
MINOR: Update to Gradle 4.10.3
Aligns with the 2.1 branch and fixes the TLS handshake error when executed with Java 7. This is necessary for the 1.0 and 1.1 branches and we do it in 2.0 too for consistency.
This commit is contained in:
parent
bcb413dab6
commit
b39aa1205d
|
@ -54,7 +54,7 @@ versions += [
|
|||
bcpkix: "1.59",
|
||||
httpclient: "4.5.7",
|
||||
easymock: "3.6",
|
||||
gradle: "4.8.1",
|
||||
gradle: "4.10.3",
|
||||
jackson: "2.9.7",
|
||||
jetty: "9.4.11.v20180605",
|
||||
jersey: "2.27",
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
# limitations under the License.
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8.1-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-all.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
|
|
@ -98,7 +98,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/v4.8.1/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/v4.10.3/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
|
||||
|
|
Loading…
Reference in New Issue