Commit Graph
11 Commits
Author SHA1 Message Date
Michael Brohl e08bfa17cb 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-6.5-bin.zip instead
of a 6.5.1 distribution. This was left this way for consistency.
2021-03-13 16:02:42 +01:00
Pawan Verma 6cd7c1960f Revert "Revert "Improved: Upgrade Gradle to V6.5.1 (OFBIZ-11946)""
This reverts commit 3ac939772d.
2020-08-19 18:04:32 +05:30
Pawan Verma 3ac939772d Revert "Improved: Upgrade Gradle to V6.5.1 (OFBIZ-11946)"
This reverts commit 8af9413193.
2020-08-19 17:59:41 +05:30
Jacques Le Roux 8af9413193 Improved: Upgrade Gradle to V6.5.1 (OFBIZ-11946)
V6.5.1 is the current stable version
2020-08-10 10:09:14 +02:00
James Yong ff21950024 Improvement: Upgrade Gradle and Groovy
(OFBIZ-11661)

Upgrade to Gradle 6.3 and Groovy 2.5.11. Both are current stable versions.
2020-05-06 20:22:38 +08:00
Jacques Le Roux d0b092dacb Reverted: Resolve build.gradle warnings
(OFBIZ-11133)

As discussed OFBIZ-11133, reverts r1862326.

Actually only puts back the wrapper files in gradle/wrapper directory

I used 
  gradlew wrapper --gradle-version=5.0 --distribution-type=bin
to regenerate the version. 

Only gradle-wrapper.properties was correctly regenerated, gradle-wrapper.jar was
 still the 5.5 version (weird but true).

So I copied gradle-wrapper.jar 5.0 version from 
tools\Buildbot\Gradle\Wrapper\R18.12

There were no changes in gradlew scripts

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862747 13f79535-47bb-0310-9956-ffa450edef68
2019-07-08 13:23:01 +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
Taher A. Alkhateeb 4a0d2a9d35 Implemented: upgrade gradle wrapper to version 5.0
(OFBIZ-9972)

After finally resolving the issue with gradle not accepting spaces in task
names, we are able to smoothly upgrade to gradle version 5.

This has reference to the discussion thread: https://s.apache.org/vQgW

Thanks: Mathieu Lirzin for feedback and test patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1848062 13f79535-47bb-0310-9956-ffa450edef68
2018-12-03 16:34:50 +00:00
Deepak Dixit 1620e4e0ca Improved: No functional change, Only added license header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812309 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 18:43:14 +00:00
Taher A. Alkhateeb 040c9f643c Improved: upgrade gradle to version 3.2.1
(OFBIZ-9160)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1776532 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 09:46:07 +00:00
Taher A. Alkhateeb c2cb34d1e9 First commit in replacing Apache ant with Gradle - OFBIZ-7534
This commit represents a pivotal change in the history of the
project in which the build system is being replaced from Apache
Ant to Gradle of which the discussion mail thread link is below.

Thanks to everyone who helped with testing and feedback

This commit delivers the following:

- add the gradle wrapper directory in gradle/* which holds
  all items necessary for gradle to run
- add the build.gradle master script
- add the settings.gradle script which declares all the subprojects
- add documentation for how to use everything in a new file called
  README.md (written in markdown)

The new script is capable of the functionality that used to exist
in Ant with some additional features including automation of eclipse
files generation and many other functions.

To complete this new feature, we need to apply the following _after_
this commit:
- change the buildbot to utilize gradle instead of ant
- delete all ant & maven scripts
- replace all local jars with remote ones from jcenter

Reference thread: http://ofbiz.markmail.org/message/vstt3wxuubmjgmqj?q=Important+Changes+to+Trunk+and+Use+of+Ant+%26+Gradle

Reference JIRA: https://issues.apache.org/jira/browse/OFBIZ-7534



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751309 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 15:22:47 +00:00