Fixed Eclipse generating pointless warnings about facets
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user