2019-01-12 01:04:56 -08:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
mavenCentral()
|
|
|
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
2019-04-10 05:08:54 -07:00
|
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
2019-01-12 01:04:56 -08:00
|
|
|
jcenter()
|
|
|
|
google()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath 'com.android.tools.build:gradle:3.1.3'
|
2019-04-10 05:08:54 -07:00
|
|
|
classpath "gradle.plugin.io.netifi:gradle-flatbuffers-plugin:1.0.5"
|
2019-01-12 01:04:56 -08:00
|
|
|
}
|
2019-12-11 02:07:55 -08:00
|
|
|
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"
|
|
|
|
}
|
2019-01-12 01:04:56 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
apply plugin: "idea"
|
|
|
|
|
|
|
|
version = '1.0'
|
|
|
|
ext {
|
|
|
|
appName = "diablo"
|
2020-09-05 17:01:45 -07:00
|
|
|
gdxVersion = '1.9.11'
|
2019-01-12 01:04:56 -08:00
|
|
|
roboVMVersion = '2.3.3'
|
|
|
|
box2DLightsVersion = '1.4'
|
|
|
|
aiVersion = '1.8.0'
|
2019-12-11 02:07:55 -08:00
|
|
|
artemisVersion = '2.3.0'
|
|
|
|
artemisContribVersion = '2.4.0'
|
2020-06-13 17:42:05 -07:00
|
|
|
nettyVersion = '4.1.50.Final'
|
2019-01-12 01:04:56 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
ext {
|
|
|
|
cliVersion = '1.4'
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
mavenCentral()
|
|
|
|
google()
|
|
|
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
|
|
|
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
|
|
|
|
maven { url 'https://jitpack.io' }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
project(":tester") {
|
|
|
|
apply plugin: "java"
|
|
|
|
|
|
|
|
ext {
|
|
|
|
visuiVersion = '1.4.0'
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(":core")
|
|
|
|
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
|
|
|
|
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
|
2019-04-18 02:15:02 -07:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile group: 'commons-cli', name: 'commons-cli', version: cliVersion
|
|
|
|
compile "com.kotcrab.vis:vis-ui:$visuiVersion"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
project(":tools") {
|
|
|
|
apply plugin: "java"
|
|
|
|
|
|
|
|
ext {
|
|
|
|
visuiVersion = '1.4.0'
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(":core")
|
|
|
|
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
|
|
|
|
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
|
2019-06-26 15:51:05 -07:00
|
|
|
compile "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion"
|
2019-01-12 01:04:56 -08:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile group: 'commons-cli', name: 'commons-cli', version: cliVersion
|
|
|
|
compile "com.kotcrab.vis:vis-ui:$visuiVersion"
|
|
|
|
}
|
2019-05-04 22:51:47 -07:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
|
|
|
|
compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
|
2019-05-05 03:39:25 -07:00
|
|
|
compile "com.badlogicgames.box2dlights:box2dlights:1.4"
|
2019-05-04 22:51:47 -07:00
|
|
|
}
|
2019-01-12 01:04:56 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
project(":ds1viewer") {
|
|
|
|
apply plugin: "java"
|
|
|
|
|
|
|
|
ext {
|
|
|
|
visuiVersion = '1.4.0'
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(":core")
|
|
|
|
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
|
|
|
|
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile group: 'commons-cli', name: 'commons-cli', version: cliVersion
|
|
|
|
compile "com.kotcrab.vis:vis-ui:$visuiVersion"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
project(":mpqviewer") {
|
|
|
|
apply plugin: "java"
|
|
|
|
|
|
|
|
ext {
|
|
|
|
visuiVersion = '1.4.2'
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(":core")
|
|
|
|
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
|
|
|
|
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile group: 'commons-cli', name: 'commons-cli', version: cliVersion
|
|
|
|
compile "com.kotcrab.vis:vis-ui:$visuiVersion"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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"
|
2019-03-09 00:16:44 -08:00
|
|
|
compile "com.badlogicgames.gdx:gdx-controllers-desktop:$gdxVersion"
|
|
|
|
compile "com.badlogicgames.gdx:gdx-controllers-platform:$gdxVersion:natives-desktop"
|
2019-01-12 01:04:56 -08:00
|
|
|
}
|
|
|
|
|
2019-11-17 03:08:42 -08:00
|
|
|
dependencies {
|
|
|
|
compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
|
|
|
|
}
|
|
|
|
|
2019-01-12 01:04:56 -08:00
|
|
|
dependencies {
|
|
|
|
compile group: 'commons-cli', name: 'commons-cli', version: cliVersion
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
project(":android") {
|
|
|
|
apply plugin: "android"
|
|
|
|
|
|
|
|
configurations { natives }
|
|
|
|
|
|
|
|
dependencies {
|
2019-06-24 03:17:34 -07:00
|
|
|
implementation project(":core")
|
|
|
|
implementation "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
|
2019-01-12 01:04:56 -08:00
|
|
|
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
|
|
|
|
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
|
|
|
|
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
|
|
|
|
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
|
|
|
|
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
|
2019-06-24 03:17:34 -07:00
|
|
|
implementation "com.badlogicgames.gdx:gdx-controllers:$gdxVersion"
|
|
|
|
implementation "com.badlogicgames.gdx:gdx-controllers-android:$gdxVersion"
|
2019-01-12 01:04:56 -08:00
|
|
|
}
|
|
|
|
|
2019-11-17 03:08:42 -08:00
|
|
|
dependencies {
|
|
|
|
compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
|
|
|
|
natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi"
|
|
|
|
natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi-v7a"
|
|
|
|
natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-arm64-v8a"
|
|
|
|
natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86"
|
|
|
|
natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86_64"
|
|
|
|
}
|
|
|
|
|
2019-01-12 01:04:56 -08:00
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2019-06-24 03:17:34 -07:00
|
|
|
implementation "org.sufficientlysecure:openpgp-api:12.0"
|
2019-01-12 01:04:56 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
project(":core") {
|
|
|
|
apply plugin: "java"
|
2019-12-11 02:07:55 -08:00
|
|
|
apply plugin: "artemis"
|
2019-01-12 01:04:56 -08:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile "com.badlogicgames.gdx:gdx:$gdxVersion"
|
|
|
|
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
|
2020-09-09 13:42:47 -07:00
|
|
|
compile "com.badlogicgames.gdx:gdx-ai:1.8.2"
|
2019-03-09 00:16:44 -08:00
|
|
|
compile "com.badlogicgames.gdx:gdx-controllers:$gdxVersion"
|
2019-01-12 01:04:56 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile group: 'com.google.guava', name: 'guava', version: '20.0'
|
|
|
|
compile group: 'com.android.support', name: 'support-annotations', version: '27.1.1'
|
|
|
|
compile group: 'commons-io', name: 'commons-io', version: '2.5'
|
|
|
|
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.6'
|
|
|
|
compile group: 'org.apache.commons', name: 'commons-collections4', version: '4.1'
|
|
|
|
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
|
2020-06-14 12:35:15 -07:00
|
|
|
compile group: 'org.apache.commons', name: 'commons-text', version: '1.8'
|
2019-01-12 01:04:56 -08:00
|
|
|
compile group: 'com.jcraft', name: 'jzlib', version: '1.1.3'
|
2019-12-12 14:17:03 -08:00
|
|
|
compile group: 'com.google.flatbuffers', name: 'flatbuffers-java', version: '1.11.0'
|
2019-01-12 01:04:56 -08:00
|
|
|
}
|
2019-01-25 17:01:35 -08:00
|
|
|
|
2019-11-17 03:08:42 -08:00
|
|
|
dependencies {
|
|
|
|
compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
|
|
|
|
compile "com.badlogicgames.box2dlights:box2dlights:1.4"
|
|
|
|
}
|
|
|
|
|
2020-08-28 00:16:26 -07:00
|
|
|
dependencies {
|
|
|
|
compile "org.reflections:reflections:0.9.12"
|
|
|
|
}
|
|
|
|
|
2019-12-11 02:07:55 -08:00
|
|
|
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"
|
2020-06-12 16:04:05 -07:00
|
|
|
//compile "net.mostlyoriginal.artemis-odb:contrib-plugin-profiler:$artemisContribVersion"
|
2019-12-11 02:07:55 -08:00
|
|
|
// compile "net.mostlyoriginal.artemis-odb:contrib-plugin-singleton:$artemisContribVersion" // TODO: when added
|
|
|
|
}
|
|
|
|
|
2020-06-25 10:08:00 -07:00
|
|
|
dependencies {
|
|
|
|
compile group: 'io.netty', name: 'netty-all', version: nettyVersion
|
|
|
|
}
|
|
|
|
|
2019-01-25 17:01:35 -08:00
|
|
|
dependencies {
|
|
|
|
testCompile 'junit:junit:4.12'
|
2019-06-26 15:51:05 -07:00
|
|
|
testCompile "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion"
|
2019-01-25 17:01:35 -08:00
|
|
|
testCompile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
|
|
|
|
}
|
2019-01-12 01:04:56 -08:00
|
|
|
}
|
|
|
|
|
2019-11-29 22:04:17 -08:00
|
|
|
project(":server:bnls") {
|
2019-01-14 01:54:17 -08:00
|
|
|
apply plugin: "java"
|
|
|
|
|
|
|
|
dependencies {
|
2019-11-30 15:51:54 -08:00
|
|
|
compile project(":core")
|
2019-06-26 15:51:05 -07:00
|
|
|
compile "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion"
|
2019-01-14 01:54:17 -08:00
|
|
|
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile group: 'commons-cli', name: 'commons-cli', version: cliVersion
|
|
|
|
}
|
2019-01-21 00:11:24 -08:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
|
|
}
|
2019-01-14 01:54:17 -08:00
|
|
|
}
|
|
|
|
|
2019-12-02 03:12:44 -08:00
|
|
|
project(":server:bncs") {
|
|
|
|
apply plugin: "java"
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(":core")
|
|
|
|
compile "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion"
|
|
|
|
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile group: 'commons-cli', name: 'commons-cli', version: cliVersion
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-30 01:46:56 -08:00
|
|
|
project(":server:mcp") {
|
|
|
|
apply plugin: "java"
|
|
|
|
|
|
|
|
dependencies {
|
2019-11-30 15:51:54 -08:00
|
|
|
compile project(":core")
|
2019-11-30 01:46:56 -08:00
|
|
|
compile "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion"
|
|
|
|
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile group: 'commons-cli', name: 'commons-cli', version: cliVersion
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-30 15:44:33 -08:00
|
|
|
project(":server:d2gs") {
|
|
|
|
apply plugin: "java"
|
|
|
|
|
|
|
|
dependencies {
|
2019-11-30 15:51:54 -08:00
|
|
|
compile project(":core")
|
2019-11-30 15:44:33 -08:00
|
|
|
compile "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion"
|
|
|
|
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile group: 'commons-cli', name: 'commons-cli', version: cliVersion
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-13 17:42:05 -07:00
|
|
|
project(":server:netty") {
|
|
|
|
apply plugin: "java"
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(":core")
|
|
|
|
compile "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion"
|
|
|
|
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile group: 'commons-cli', name: 'commons-cli', version: cliVersion
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-21 01:41:50 -07:00
|
|
|
project(":mpqlib") {
|
|
|
|
apply plugin: "java"
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(":core")
|
|
|
|
compile "com.badlogicgames.gdx:gdx-jnigen:$gdxVersion"
|
|
|
|
}
|
|
|
|
}
|