[ofbiz-framework] branch release18.12 updated: Fixed: Replace Bintray by a new place to upload the Gradle Wrapper (OFBIZ-12192)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch release18.12 updated: Fixed: Replace Bintray by a new place to upload the Gradle Wrapper (OFBIZ-12192)

mbrohl
This is an automated email from the ASF dual-hosted git repository.

mbrohl pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release18.12 by this push:
     new 94265fd  Fixed: Replace Bintray by a new place to upload the Gradle Wrapper (OFBIZ-12192)
94265fd is described below

commit 94265fdb917982a66697ea285e7ed5a8ca581f3c
Author: Michael Brohl <[hidden email]>
AuthorDate: Sat Mar 13 16:12:32 2021 +0100

    Fixed: Replace Bintray by a new place to upload the Gradle Wrapper
    (OFBIZ-12192)
   
    Changes script to use the proper Gradle wrapper version. Changes the
    download url from Bintray to Gradle GitHub repository and removes the
    backup link. Adjusts the sha checksums accordingly.
   
    The Gradle download link pulls a gradle-wrapper.properties file which
    references services.gradle.org/distributions/gradle-5.0-rc-5-bin.zip
    instead of a 5.0.0 distribution. This was left this way for consistency.
---
 gradle/init-gradle-wrapper.sh            |   5 ++---
 gradle/wrapper/gradle-wrapper.jar        | Bin 55741 -> 55759 bytes
 gradle/wrapper/gradle-wrapper.properties |   2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/gradle/init-gradle-wrapper.sh b/gradle/init-gradle-wrapper.sh
index c8ac130..cad3b9b 100755
--- a/gradle/init-gradle-wrapper.sh
+++ b/gradle/init-gradle-wrapper.sh
@@ -23,12 +23,11 @@ GRADLE_WRAPPER_OFBIZ_PATH="$GRADLE_OFBIZ_PATH/wrapper"
 
 # version and uri to download the wrapper
 RELEASE="5.0.0"
-GRADLE_WRAPPER_URI="https://dl.bintray.com/apacheofbiz/GradleWrapper/v$RELEASE/"
-GRADLE_WRAPPER_URI_BACKUP="https://github.com/gradle/gradle/raw/v$RELEASE/gradle/wrapper/"
+GRADLE_WRAPPER_URI="https://github.com/gradle/gradle/raw/v$RELEASE/gradle/wrapper/"
 
 # checksum to verify the downloaded file
 SHASUM_GRADLE_WRAPPER_FILES="1d23286bcb9e7d3debff18c1b892b9dbb9a4ec6c  gradle/wrapper/gradle-wrapper.jar
-f9c2ad227ef1fe774cb0e141abfc431b05fc9fd4  gradle/wrapper/gradle-wrapper.properties
+7895f7f8ded9986d4f13b14a35b1842e47771541  gradle/wrapper/gradle-wrapper.properties
 b4a6a7e1dca81a692a775193fada937e035265f3  gradlew"
 
 GRADLE_WRAPPER_JAR="gradle-wrapper.jar"
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
index 457aad0..df1d7c1 100644
Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 75b8c7c..2be2301 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-rc-5-bin.zip
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists