18 Commits
Author SHA1 Message Date
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
Jacques Le Roux d0eae33622 Improvement: Upgrade Gradle and Groovy
(OFBIZ-11661)

Puts back the ASL2 header and the -Xms64m value
2020-05-08 13:32:17 +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 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
Jacques Le Roux acf6f2bdfd Improved: Remove the Gradle wrapper from our release packages and add a step to
our build notes
(OFBIZ-10145)

Oops, I was wrong for the repeated "-Xms64m" in gradlew 
scripts. It's "-Xms64m" and "-Xmx64m"


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862356 13f79535-47bb-0310-9956-ffa450edef68
2019-06-30 17:15:45 +00:00
Jacques Le Roux 55a493c9f7 Improved: Remove the Gradle wrapper from our release packages and add a step to
our build notes
(OFBIZ-10145)

Applies the last waiting gradlew.bat.patch in OFBIZ-10145 
Fixes a trivial issue in Mathieu last commits: repeated "-Xms64m" in gradlew 
scripts.
Uses HTTP in init-gradle-wrapper.ps1 instead of HTTP. Not everyone has an HTTPS 
access to the tools repo.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862353 13f79535-47bb-0310-9956-ffa450edef68
2019-06-30 16:32:39 +00:00
Mathieu Lirzin 2f9fca04be Fixed: Add missing ‘:GradleOK’ label in “gradlew.bat”
(OFBIZ-11131)

This fixes a mistake done in previous commit done when migrating our
“gradlew” modifications to the updated script.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862327 13f79535-47bb-0310-9956-ffa450edef68
2019-06-29 23:19:48 +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
Jacques Le Roux 602017cd47 Reverted: it was not supposed to be committed, "wrong button" while creating
a patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862001 13f79535-47bb-0310-9956-ffa450edef68
2019-06-24 12:36:18 +00:00
Jacques Le Roux 604e946c98 No functional change, this was reverted in r1862001
Reverted: it was not supposed to be committed, "wrong button" while creating 
a patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1861999 13f79535-47bb-0310-9956-ffa450edef68
2019-06-24 12:29:38 +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
Jacques Le Roux 8d48c43e8e No functional changes
Completes r1781731 by putting svn:eol-style=native to *.sh;*.bat file types 

There are also changes in files with have mixed EOLs because this is no sense
when using native which automatically resolves this issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1781735 13f79535-47bb-0310-9956-ffa450edef68
2017-02-05 11:34:17 +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 4d2b415a91 Another major patch for OFBIZ-7534 replacing Ant with Gradle
This is the first patch that takes OFBiz to the point of no return
in terms of switching from Ant to Gradle build system. Specifically
this patch applies the following items:

- Delete all old Ant and Maven build scripts
- Delete 169 Jar libraries and replace them with remote ones in the
  gradle build script
- update the gradle build scripts for the dependencies and other minor
  changes needed for the script work correctly

All tests pass with the command ./gradlew cleanAll loadDefault testIntegration

Again, thank you for everyone who contributed valueble time and effort in this
process.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752033 13f79535-47bb-0310-9956-ffa450edef68
2016-07-09 18:10:19 +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