mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-04 15:27:30 +07:00
Rewrote engine and replaced Ashley with Artemis
Rewrote engine and replaced Ashley with Artemis Added basic networking support for D2GS (handshake and sending initial player state to clients)
This commit is contained in:
32
build.gradle
32
build.gradle
@ -11,6 +11,14 @@ buildscript {
|
||||
classpath 'com.android.tools.build:gradle:3.1.3'
|
||||
classpath "gradle.plugin.io.netifi:gradle-flatbuffers-plugin:1.0.5"
|
||||
}
|
||||
dependencies {
|
||||
// lib for artemis-odb weaving.
|
||||
// see https://github.com/junkdog/artemis-odb/wiki/Bytecode-weaving
|
||||
classpath "net.onedaybeard.artemis:artemis-odb-gradle-plugin:2.2.0"
|
||||
|
||||
// lib for artemis-odb fluid.
|
||||
classpath "net.onedaybeard.artemis:artemis-fluid-gradle-plugin:2.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
@ -22,8 +30,9 @@ allprojects {
|
||||
gdxVersion = '1.9.11-SNAPSHOT'
|
||||
roboVMVersion = '2.3.3'
|
||||
box2DLightsVersion = '1.4'
|
||||
ashleyVersion = '1.7.4-SNAPSHOT'
|
||||
aiVersion = '1.8.0'
|
||||
artemisVersion = '2.3.0'
|
||||
artemisContribVersion = '2.4.0'
|
||||
}
|
||||
|
||||
ext {
|
||||
@ -184,11 +193,11 @@ project(":android") {
|
||||
|
||||
project(":core") {
|
||||
apply plugin: "java"
|
||||
apply plugin: "artemis"
|
||||
|
||||
dependencies {
|
||||
compile "com.badlogicgames.gdx:gdx:$gdxVersion"
|
||||
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
|
||||
compile "com.badlogicgames.ashley:ashley:$ashleyVersion"
|
||||
compile "com.badlogicgames.gdx:gdx-ai:1.8.+"
|
||||
compile "com.badlogicgames.gdx:gdx-controllers:$gdxVersion"
|
||||
}
|
||||
@ -209,6 +218,25 @@ project(":core") {
|
||||
compile "com.badlogicgames.box2dlights:box2dlights:1.4"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// components to expose
|
||||
compile "net.onedaybeard.artemis:artemis-odb:$artemisVersion"
|
||||
compile "net.mostlyoriginal.artemis-odb:contrib-core:$artemisContribVersion"
|
||||
//compile "net.mostlyoriginal.artemis-odb:contrib-jam:$artemisContribVersion"
|
||||
|
||||
// Artemis-odb
|
||||
compile "net.onedaybeard.artemis:artemis-odb:$artemisVersion"
|
||||
compile "net.onedaybeard.artemis:artemis-odb-serializer-json-libgdx:$artemisVersion"
|
||||
|
||||
// Artemis-odb bonus functionality (systems, events, components).
|
||||
compile "net.mostlyoriginal.artemis-odb:contrib-core:$artemisContribVersion"
|
||||
//compile "net.mostlyoriginal.artemis-odb:contrib-jam:$artemisContribVersion"
|
||||
compile "net.mostlyoriginal.artemis-odb:contrib-eventbus:$artemisContribVersion"
|
||||
//compile "net.mostlyoriginal.artemis-odb:contrib-plugin-operations:$artemisContribVersion"
|
||||
compile "net.mostlyoriginal.artemis-odb:contrib-plugin-profiler:$artemisContribVersion"
|
||||
// compile "net.mostlyoriginal.artemis-odb:contrib-plugin-singleton:$artemisContribVersion" // TODO: when added
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testCompile 'junit:junit:4.12'
|
||||
testCompile "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion"
|
||||
|
Reference in New Issue
Block a user