Fixed Eclipse generating pointless warnings about facets

This commit is contained in:
Anuken
2017-08-09 14:59:31 -04:00
parent 09985e30fe
commit cd4014f86a
8 changed files with 23 additions and 22 deletions

View File

@@ -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"
}

View File

@@ -6,7 +6,6 @@
<inherits name='Mindustry' />
<inherits name='uCore' />
<entry-point class='io.anuke.mindustry.client.HtmlLauncher' />
<set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>
<set-configuration-property name="gdx.assetpath" value="../core/assets" />