Commit Graph
8 Commits
Author SHA1 Message Date
Girish Vasmatkar 577326221e Fixed: Updated checksum and modified path of the files as input to shasum command(OFBIZ-12066). 2020-11-30 16:17:57 +05:30
Girish Vasmatkar dcd85b3d33 Fixed: Used correct syntax to conctenate bash variable and string such that wgent command runs properly.(OFBIZ-12066) 2020-11-28 14:59:56 +05:30
Jacques Le Roux d56e3977e9 Improved: Upgrade Gradle to V6.5.1 (OFBIZ-11946)
I forgot to update the shasums in init-gradle-wrapper.sh
2020-10-13 11:04:26 +02:00
Nicolas Malin 6114fd496a Improved: update init-gradle-wrapper.sh to load gradlew script
(OFBIZ-10145)
When you run 'sh gradle/init-gradle-wrapper.sh', if the script gradlew at the OFBiz root isn't present we download it from bintray.
Improvements to comments and messages in the init-gradle-wrapper.sh script do on r1865605 by Jacopo

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1866120 13f79535-47bb-0310-9956-ffa450edef68
2019-08-30 07:14:34 +00:00
Nicolas Malin b52990054e Implemented: Helper script to download the gradle wrapper
(OFBIZ-10145)
Add a helper script to download gradle-wrapper.jar and gradle-wrapper.properties 
at version 5.0.0 from bintray [1] when gradle/wrapper/gradle-wrapper.jar isn't present.

To use it just run at the OFBiz root :
    $ sh gradle/init-gradle-wrapper.sh

[1] https://dl.bintray.com/apacheofbiz/GradleWrapper/
[2] https://github.com/gradle/gradle/blob/v5.0.0/gradle/wrapper/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1864815 13f79535-47bb-0310-9956-ffa450edef68
2019-08-09 15:18:16 +00:00
Jacques Le Roux d8046cba27 Reverted: Remove the Gradle wrapper from our release packages and add a step to
our build notes
(OFBIZ-10145)

As discussed in dev ML and OFBIZ-11133, reverts all commits done for OFBIZ-10145:
r1862356, r1862354, r1862353, r1861783, r1861766 

But keeps in README.doc the added line in r1861766:

    ==== Clean system and load the complete OFBiz data

I'm uncertain about what will happen with the gradle/wrapper directory and the
wrapper version there (currently 5.5 and in between these commits).
But anyway not a big deal to get it back



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862745 13f79535-47bb-0310-9956-ffa450edef68
2019-07-08 13:10:42 +00:00
Mathieu Lirzin d2dd30224c Improved: Upgrade to Gradle 5.5
(OFBIZ-11131)

The upgrade has been done with the following command:

   $ ./gradlew wrapper --gradle-version=5.5 --distribution-type=bin

Our “gradlew” scripts modification has been preserved and
“gradle/init-gradle-wrapper.sh” has been updated to download the new
version of the wrapper jar.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862326 13f79535-47bb-0310-9956-ffa450edef68
2019-06-29 23:04:35 +00:00
Nicolas Malin dc85185f54 Implemented: Remove the Gradle wrapper jar
(OFBIZ-10145) (LEGAL-288)

As regards to LEGAL-288 [1] we remove the gradle-wrapper.jar from the source and future release packages.
Now when you run ./gradlew (or gradlew), we check before that gradle/wrapper/gradle-wrapper.jar is present
otherwise we download it before calling the wrapper.

To realize the download, we need as a prerequisite to have:
Unix-like: curl or wget
MS windows: wget

If any issue appears, it's possible to set gradle-wrapper.jar and gradle-wrapper.properties by hand on the directory gradle/wrapper/
Thanks to Jacques Leroux and Swapnil M Mane for their help

[1] https://issues.apache.org/jira/browse/LEGAL-288

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1861766 13f79535-47bb-0310-9956-ffa450edef68
2019-06-21 09:26:55 +00:00