-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Radomiej edited this page Apr 28, 2016
·
9 revisions
-
Install libgdx-project via Setup App like normal libgdx project
-
Import your gradle project into your IDE.
-
Open build.gradle from general project and replace all content with this:
buildscript {
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
}
}
allprojects {
apply plugin: "eclipse"
apply plugin: "idea"
version = '1.0'
ext {
appName = "JavityEngine"
gdxVersion = '1.9.2'
roboVMVersion = '1.12.0'
box2DLightsVersion = '1.4'
ashleyVersion = '1.7.0'
aiVersion = '1.8.0'
javityVersion = '0.0.1-SNAPSHOT'
}
repositories {
mavenCentral()
mavenLocal()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
maven { url "http://maven.ra-studio.ovh/" }
}
}
project(":desktop") {
apply plugin: "java"
dependencies {
compile project(":core")
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
}
}
project(":core") {
apply plugin: "java"
dependencies {
compile group: "org.javity", name: "javity-engine", version: "$javityVersion", changing: true
}
}
tasks.eclipse.doLast {
delete ".project"
}- Update your gradle project.