Skip to content

Instantly share code, notes, and snippets.

@Tom-Ski
Created January 8, 2014 14:46
Show Gist options
  • Save Tom-Ski/8317864 to your computer and use it in GitHub Desktop.
Save Tom-Ski/8317864 to your computer and use it in GitHub Desktop.
Maybe
project(":gwt") {
apply plugin: "gwt"
dependencies {
compile project(":core")
compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion"
compile "com.badlogicgames.gdx:gdx:$gdxVersion:sources"
compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion:sources"
}
gwt {
gwtVersion='2.5.1'
modules '%PACKAGE%.GdxDefinition'
src += files(project(':core').sourceSets.main.allJava.srcDirs) + files(project(':core').sourceSets.main.output.resourcesDir)
compiler {
strict = true;
enableClosureCompiler = true;
disableClassMetadata = true;
disableCastChecking = true;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment