Fixed Eclipse generating pointless warnings about facets
This commit is contained in:
+7
-14
@@ -18,20 +18,6 @@ gwt {
|
||||
}
|
||||
}
|
||||
|
||||
task draftRun(type: JettyRunWar) {
|
||||
dependsOn draftWar
|
||||
dependsOn.remove('war')
|
||||
webApp=draftWar.archivePath
|
||||
daemon=true
|
||||
}
|
||||
|
||||
task superDev(type: de.richsource.gradle.plugins.gwt.GwtSuperDev) {
|
||||
dependsOn draftRun
|
||||
doFirst {
|
||||
gwt.modules = gwt.devModules
|
||||
}
|
||||
}
|
||||
|
||||
task dist(dependsOn: [clean, compileGwt]) {
|
||||
doLast {
|
||||
file("build/dist").mkdirs()
|
||||
@@ -56,6 +42,13 @@ task distZip(type: Zip, dependsOn: dist){
|
||||
destinationDir(file("build/dist-zipped"))
|
||||
}
|
||||
|
||||
|
||||
eclipseWtpFacet.doLast{
|
||||
delete{
|
||||
delete '.settings/org.eclipse.wst.common.project.facet.core.xml'
|
||||
}
|
||||
}
|
||||
|
||||
draftWar {
|
||||
from "war"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user