svn commit: r1865719 - /ofbiz/ofbiz-framework/trunk/build.gradle

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

svn commit: r1865719 - /ofbiz/ofbiz-framework/trunk/build.gradle

mthl
Author: mthl
Date: Thu Aug 22 21:23:27 2019
New Revision: 1865719

URL: http://svn.apache.org/viewvc?rev=1865719&view=rev
Log:
Improved: Make ‘gradlew’ depend on :jar and :test
(OFBIZ-11162)

The default task was previously depending on :build which was requiring to
mess with the dependency graph in order to avoid executing the :distTar and
:distZip tasks which are too big to be executed by default.

It is cleaner to simply define the default tasks to :jar and :test.

Modified:
    ofbiz/ofbiz-framework/trunk/build.gradle

Modified: ofbiz/ofbiz-framework/trunk/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/build.gradle?rev=1865719&r1=1865718&r2=1865719&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/build.gradle (original)
+++ ofbiz/ofbiz-framework/trunk/build.gradle Thu Aug 22 21:23:27 2019
@@ -85,12 +85,6 @@ distributions.main.contents.from(rootDir
     include 'framework/**', 'applications/**', 'themes/**', 'plugins/**'
 }
 
-// XXX: Remove the :distTar and :distZip tasks from the dependency
-// graph of the :build task which cost an important amount of disk
-// space and build time due to the huge number of dependencies to be
-// packed.
-assemble.setDependsOn([jar])
-
 javadoc {
     failOnError = true
     options {
@@ -125,7 +119,7 @@ def File gitFooterFile = file("${rootDir
 def File svnFooterFile = file("${rootDir}/runtime/SvnInfo.ftl")
 
 // root and subproject settings
-defaultTasks 'build'
+defaultTasks 'jar', 'test'
 
 allprojects {
     repositories{