kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ij...@apache.org
Subject [kafka] branch 2.0 updated: MINOR: Update gradle wrapper
Date Thu, 21 Nov 2019 21:12:41 GMT
This is an automated email from the ASF dual-hosted git repository.

ijuma pushed a commit to branch 2.0
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/2.0 by this push:
     new 3ec560e  MINOR: Update gradle wrapper
3ec560e is described below

commit 3ec560e7b136010bf3616145fbaa42d315023cd3
Author: Ismael Juma <ismael@juma.me.uk>
AuthorDate: Thu Nov 21 08:41:04 2019 -0800

    MINOR: Update gradle wrapper
---
 build.gradle               | 2 +-
 gradle/dependencies.gradle | 1 +
 gradlew                    | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index d15c22b..0d04af5 100644
--- a/build.gradle
+++ b/build.gradle
@@ -84,7 +84,7 @@ allprojects {
 }
 
 ext {
-  gradleVersion = "4.8.1"
+  gradleVersion = "$versions.gradle"
   minJavaVersion = "8"
   buildVersionFileName = "kafka-version.properties"
 
diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index d3f70d1..d7c86f4 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -54,6 +54,7 @@ versions += [
   bcpkix: "1.59",
   httpclient: "4.5.7",
   easymock: "3.6",
+  gradle: "4.8.1",
   jackson: "2.9.7",
   jetty: "9.4.11.v20180605",
   jersey: "2.27",
diff --git a/gradlew b/gradlew
index b45bdfd..d92ee99 100755
--- a/gradlew
+++ b/gradlew
@@ -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/vnull/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
       rm -f "$APP_HOME/gradle/wrapper/gradle-wrapper.jar"
       # Pause for a bit before looping in case the server throttled us.
       sleep 5


Mime
View raw message