svn commit: r1779439 - /ofbiz/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: r1779439 - /ofbiz/trunk/build.gradle

jleroux@apache.org
Author: jleroux
Date: Thu Jan 19 09:19:03 2017
New Revision: 1779439

URL: http://svn.apache.org/viewvc?rev=1779439&view=rev
Log:
Improved: Remove the cleanGradle and cleanAnt Gradles Task
(OFBIZ-9183)

We decided to remove the cleanGradle because since we upgraded to Gradle  3
it causes an issue on Windows.

We also decided to remove the cleanAnt Gradles Task  because it's now in
the R16.11.01 and R11.1 branch which should be enough for users moving from Ant
to Gradle

BTW in case of need there is this wiki reference page
https://cwiki.apache.org/confluence/display/OFBIZ/From+Ant+to+Gradle


Modified:
    ofbiz/trunk/build.gradle

Modified: ofbiz/trunk/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.gradle?rev=1779439&r1=1779438&r2=1779439&view=diff
==============================================================================
--- ofbiz/trunk/build.gradle (original)
+++ ofbiz/trunk/build.gradle Thu Jan 19 09:19:03 2017
@@ -765,28 +765,12 @@ task cleanXtra(group: cleanupGroup, desc
             includes: ['**/.nbattrs', '**/*~','**/.#*', '**/.DS_Store', '**/*.rej', '**/*.orig'])
     }
 }
-task cleanGradle(group: cleanupGroup, description: 'clean generated files from Gradle') {
-    doLast { delete file("${rootDir}/.gradle") }
-}
 task cleanFooterFiles(group: cleanupGroup, description: 'clean generated footer files') {
     doLast {
         delete gitFooterFile
         delete svnFooterFile
     }
 }
-task cleanAnt(group: cleanupGroup, type: Delete, description: "clean old artifacts generated by Ant") {
-    /* TODO this task is temporary and should be deleted after some
-     * time when users have updated their trees. */
-    doLast {
-        ['framework', 'plugins', 'applications'].each { componentGroup ->
-            file(componentGroup).eachDir { component ->
-                delete file(component.toString() + '/build')
-            }
-        }
-        delete 'ofbiz.jar'
-    }
-}
-
 /*
  * Keep this task below all other clean tasks  The location of
  * declaration is important because it means that it will automatically