File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,9 @@ repositories {
101
101
102
102
jar.destinationDir = file ("$rootDir/jars/build")
103
103
104
+ clean {
105
+ delete "${jar.destinationDir}/${jar.baseName}.jar"
106
+ }
104
107
105
108
task buildClient (dependsOn: loadConfig) {
106
109
Original file line number Diff line number Diff line change @@ -146,6 +146,10 @@ war {
146
146
}
147
147
}
148
148
149
+ clean {
150
+ delete "${war.destinationDir}/${webapp.baseWarName}.war"
151
+ }
152
+
149
153
task deploy (dependsOn: [loadConfig, webapp]) << {
150
154
description= 'Deploy webapp(war file) to Tomcat. Require ${tomcat_home} property'
151
155
group = WEBAPP_GROUP
@@ -247,10 +251,12 @@ task publishToGithub (dependsOn: loadConfig) {
247
251
// ------------------------
248
252
// define task order
249
253
//-------------------------
250
- loadConfig .mustRunAfter gwt
251
- buildClient .mustRunAfter prepareWebapp
252
- buildJsDoc .mustRunAfter prepareWebapp
254
+ gwt .mustRunAfter jar
255
+ loadConfig .mustRunAfter gwt
256
+ gwtCompile .mustRunAfter loadConfig
253
257
prepareWebapp.mustRunAfter gwtCompile
254
- gwtCompile.mustRunAfter jar
255
- deploy.mustRunAfter war
258
+ buildClient.mustRunAfter prepareWebapp
259
+ buildJsDoc.mustRunAfter buildClient
260
+ war.mustRunAfter buildJsDoc
261
+ deploy.mustRunAfter war
256
262
You can’t perform that action at this time.
0 commit comments