Game Development Reference
In-Depth Information
natives "com.badlogicgames.gdx:gdx-
platform:$gdxVersion:natives-ios"
natives "com.badlogicgames.gdx:gdx-box2d-
platform:$gdxVersion:natives-ios"
}
}
• To add the HTML dependency, use this:
project(":html") {
apply plugin: "gwt"
apply plugin: "war"
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"
compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion:sources"
compile "com.badlogicgames.gdx:gdx-box2d-
gwt:$gdxVersion:sources"
}
}
• To add the core dependency, use this:
project(":core") {
apply plugin: "java"
dependencies {
compile "com.badlogicgames.gdx:gdx:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
}
}
Now, refresh all dependencies. To do this, select all the five projects in the
package explorer and then right-click on the Refresh Dependencies option in
the Gradle menu.
 
Search WWH ::




Custom Search