[ofbiz-framework] branch release17.12 updated (c32abb8 -> 9c0c433)

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

[ofbiz-framework] branch release17.12 updated (c32abb8 -> 9c0c433)

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

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


    from c32abb8  Fixed: Use Labels in themes names (OFBIZ-9863)
     new 20e1e1f  Improved: Upgrade Gradle to version 4.5.1 for the jcenter to mavenCentral migration (OFBIZ-12171)
     new 58f2b14  Fixed: Replace Bintray by a new place to upload the Gradle Wrapper (OFBIZ-12192)
     new 9c0c433  Fixed: Replace Bintray by a new place to upload the Gradle Wrapper (OFBIZ-12192)

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gradle/init-gradle-wrapper.ps1    |   7 ++-----
 gradle/init-gradle-wrapper.sh     |  16 ++++++----------
 gradle/wrapper/gradle-wrapper.jar | Bin 54227 -> 54351 bytes
 3 files changed, 8 insertions(+), 15 deletions(-)

Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] 01/03: Improved: Upgrade Gradle to version 4.5.1 for the jcenter to mavenCentral migration (OFBIZ-12171)

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

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

commit 20e1e1fae737f5ec6c186d6391b51267d3ef10ce
Author: Michael Brohl <[hidden email]>
AuthorDate: Sat Mar 13 08:49:41 2021 +0100

    Improved: Upgrade Gradle to version 4.5.1 for the jcenter to
    mavenCentral migration (OFBIZ-12171)
---
 gradle/wrapper/gradle-wrapper.jar | Bin 54227 -> 54351 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
index 51288f9..fa0e5f1 100644
Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ

Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] 02/03: Fixed: Replace Bintray by a new place to upload the Gradle Wrapper (OFBIZ-12192)

mbrohl
In reply to this post by mbrohl
This is an automated email from the ASF dual-hosted git repository.

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

commit 58f2b14ee85c4387c6af5177fc2c0521e4cc8968
Author: Michael Brohl <[hidden email]>
AuthorDate: Sat Mar 13 09:14:05 2021 +0100

    Fixed: Replace Bintray by a new place to upload the Gradle Wrapper
    (OFBIZ-12192)
   
    Changed script to use the proper Gradle wrapper version. Changed the
    download url from Bintray to Gradle GitHub repository and removed the
    backup link.
---
 gradle/init-gradle-wrapper.sh | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/gradle/init-gradle-wrapper.sh b/gradle/init-gradle-wrapper.sh
index 82e3b44..a7ac045 100755
--- a/gradle/init-gradle-wrapper.sh
+++ b/gradle/init-gradle-wrapper.sh
@@ -22,18 +22,17 @@ GRADLE_OFBIZ_PATH="$OFBIZ_HOME/gradle"
 GRADLE_WRAPPER_OFBIZ_PATH="$GRADLE_OFBIZ_PATH/wrapper"
 
 # version and uri to download the wrapper
-RELEASE="3.2.1"
-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/"
+RELEASE="4.5.1"
+GRADLE_WRAPPER_URI="https://github.com/gradle/gradle/raw/v$RELEASE/gradle/wrapper/"
 
 # checksum to verify the downloaded file
-SHASUM_GRADLE_WRAPPER_FILES="12478d9829998a5433231ad971bae52978279a3d  gradle/wrapper/gradle-wrapper.jar
-05d4ab69d3f2143e017710b0917b740f75a75c07  gradle/wrapper/gradle-wrapper.properties
+SHASUM_GRADLE_WRAPPER_FILES="00d0743607178962f8b120da4ccad2c64c698aec  gradle/wrapper/gradle-wrapper.jar
+609c5f1fbbc2ec3feeaf1c8f7183f810e9e8b22e  gradle/wrapper/gradle-wrapper.properties
 aaa5fb4c074407cb4d7f8c89a80342f3130880c3  gradlew"
 
 GRADLE_WRAPPER_JAR="gradle-wrapper.jar"
 GRADLE_WRAPPER_PROPERTIES="gradle-wrapper.properties"
-GRADLE_WRAPPER_FILES="$GRADLE_WRAPPER_JAR $GRADLE_WRAPPER_PROPERTIES"
+GRADLE_WRAPPER_FILES="$GRADLE_WRAPPER_JAR"
 GRADLE_WRAPPER_SCRIPT="gradlew"
 
 whereIsBinary() {
@@ -55,12 +54,9 @@ downloadFile() {
    return 1
 }
 
-# Download the file from the main URI; if the download fails then use the backup URI
+# Download the file from the main URI
 resolveFile() {
    downloadFile $1 $GRADLE_WRAPPER_URI;
-   if [ $? -eq 1 ]; then
-       downloadFile $1 $GRADLE_WRAPPER_URI_BACKUP;
-   fi
 }
 
 echo " === Prepare operation ===";

Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] 03/03: Fixed: Replace Bintray by a new place to upload the Gradle Wrapper (OFBIZ-12192)

mbrohl
In reply to this post by mbrohl
This is an automated email from the ASF dual-hosted git repository.

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

commit 9c0c43365f70558f1eee00d20dae60d24ddc8320
Author: Michael Brohl <[hidden email]>
AuthorDate: Sat Mar 13 09:16:03 2021 +0100

    Fixed: Replace Bintray by a new place to upload the Gradle Wrapper
    (OFBIZ-12192)
   
    Changed Windows powershell script to use the proper Gradle wrapper
    version. Removed the properties and batch file download.
---
 gradle/init-gradle-wrapper.ps1 | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/gradle/init-gradle-wrapper.ps1 b/gradle/init-gradle-wrapper.ps1
index 883259c..73dd083 100644
--- a/gradle/init-gradle-wrapper.ps1
+++ b/gradle/init-gradle-wrapper.ps1
@@ -15,13 +15,10 @@
 # specific language governing permissions and limitations
 # under the License.
 
-if ((Test-Path -Path ((Get-Item -Path ".\").FullName + "\gradle\wrapper\gradle-wrapper.jar")) -and (Test-Path -Path ((Get-Item -Path ".\").FullName + "\gradle\wrapper\gradle-wrapper.properties"))) {
+if ((Test-Path -Path ((Get-Item -Path ".\").FullName + "\gradle\wrapper\gradle-wrapper.jar"))) {
     Write-Host "The Gradle Wrapper has already been downloaded.";
     exit
 }
 
 # HTTPS is not used because it gets complicated with Powershell and .Net framework versions depending on Windows versions
-Invoke-WebRequest -outf gradle\wrapper\gradle-wrapper.jar http://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1/gradle-wrapper.jar
-Invoke-WebRequest -outf gradle\wrapper\gradle-wrapper.properties http://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1/gradle-wrapper.properties
-Invoke-WebRequest -outf gradlew.bat http://dl.bintray.com/apacheofbiz/GradleWrapper/v3.2.1/gradlew.bat
-
+Invoke-WebRequest -outf gradle\wrapper\gradle-wrapper.jar https://github.com/gradle/gradle/raw/v4.5.1/gradle/wrapper/gradle-wrapper.jar