Ignore sub-projects in gradle -


i have gradle multi-project , i'm trying create task root build.gradle file,  need run task once after checkout or every-time need generate jars file(from war) project depend on.    problem when run "gradle mytask", gradle try compile projects in file setting.gradle don't have yet jars fails. 

is there way run task ignoring setting.gradle?

i have tried "gradle -c fake-setting.gradle mytask" , works hope there better way it...

task postcheckout << {     println "<<<<<< postcheckout"     delete filetree(dir: "${rootproject.projectdir}/libs/fineos", include: ".")     copy{        ziptree("${rootproject.projectdir}/fineos-war/fineos6/fineos.war/")        include "web-inf/lib/*.jar"        eachfile { fcp-> fcp.path = fcp.name }        "${rootproject.projectdir}/libs/fineos" includeemptydirs = false     }  } 


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -