Edits to make GWT compilation work
This commit is contained in:
+2
-1
@@ -3,7 +3,7 @@ apply plugin: "jetty"
|
||||
|
||||
gwt {
|
||||
gwtVersion='2.8.0' // Should match the gwt version used for building the gwt backend
|
||||
maxHeapSize="1G" // Default 256m is not enough for gwt compiler. GWT is HUNGRY
|
||||
maxHeapSize="2G" // Default 256m is not enough for gwt compiler. GWT is HUNGRY
|
||||
minHeapSize="1G"
|
||||
|
||||
src = files(file("src/")) // Needs to be in front of "modules" below.
|
||||
@@ -13,6 +13,7 @@ gwt {
|
||||
|
||||
compiler {
|
||||
strict = true;
|
||||
//enableClosureCompiler = true;
|
||||
disableCastChecking = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,5 +9,5 @@
|
||||
|
||||
<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" />
|
||||
<set-configuration-property name="gdx.assetpath" value="../android/assets" />
|
||||
</module>
|
||||
|
||||
Reference in New Issue
Block a user