Modularized Kryonet handler
This commit is contained in:
13
build.gradle
13
build.gradle
@@ -38,10 +38,10 @@ project(":desktop") {
|
||||
|
||||
dependencies {
|
||||
compile project(":core")
|
||||
compile project(":kryonet")
|
||||
compile "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
|
||||
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
|
||||
compile "com.badlogicgames.gdx:gdx-controllers-lwjgl3:$gdxVersion"
|
||||
compile "com.esotericsoftware:kryonet:2.22.0-RC1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,6 +70,7 @@ project(":android") {
|
||||
|
||||
dependencies {
|
||||
compile project(":core")
|
||||
compile project(":kryonet")
|
||||
compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
|
||||
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
|
||||
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
|
||||
@@ -78,7 +79,6 @@ project(":android") {
|
||||
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
|
||||
compile "com.badlogicgames.gdx:gdx-ai:$aiVersion"
|
||||
compile "com.badlogicgames.gdx:gdx-controllers-android:$gdxVersion"
|
||||
compile "com.esotericsoftware:kryonet:2.22.0-RC1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -109,6 +109,15 @@ project(":core") {
|
||||
}
|
||||
}
|
||||
|
||||
project(":kryonet") {
|
||||
apply plugin: "java"
|
||||
|
||||
dependencies {
|
||||
compile project(":core")
|
||||
compile "com.esotericsoftware:kryonet:2.22.0-RC1"
|
||||
}
|
||||
}
|
||||
|
||||
tasks.eclipse.doLast {
|
||||
delete ".project"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user