|
@@ -7,10 +7,6 @@ ext {
|
|
}
|
|
}
|
|
|
|
|
|
allprojects {
|
|
allprojects {
|
|
- apply plugin: "java"
|
|
|
|
-
|
|
|
|
- sourceSets.main.java.srcDirs = ["src"]
|
|
|
|
-
|
|
|
|
repositories {
|
|
repositories {
|
|
mavenLocal()
|
|
mavenLocal()
|
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
|
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
|
|
@@ -19,18 +15,37 @@ allprojects {
|
|
}
|
|
}
|
|
|
|
|
|
project("spine-libgdx") {
|
|
project("spine-libgdx") {
|
|
- apply plugin: "java-library"
|
|
|
|
|
|
+ apply plugin: "java"
|
|
|
|
+ sourceSets.main.java.srcDirs = ["src"]
|
|
|
|
+
|
|
|
|
+ dependencies {
|
|
|
|
+ implementation "com.badlogicgames.gdx:gdx:$libgdxVersion"
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+project("spine-libgdx-tests") {
|
|
|
|
+ apply plugin: "java"
|
|
|
|
+ sourceSets.main.java.srcDirs = ["src"]
|
|
|
|
+ sourceSets.main.resources.srcDirs = ["assets"]
|
|
|
|
|
|
dependencies {
|
|
dependencies {
|
|
|
|
+ implementation project(":spine-libgdx")
|
|
implementation "com.badlogicgames.gdx:gdx:$libgdxVersion"
|
|
implementation "com.badlogicgames.gdx:gdx:$libgdxVersion"
|
|
|
|
+ implementation "com.badlogicgames.gdx:gdx-platform:$libgdxVersion:natives-desktop"
|
|
|
|
+ implementation "com.badlogicgames.gdx:gdx-backend-lwjgl3:$libgdxVersion"
|
|
|
|
+ implementation "com.badlogicgames.gdx:gdx-lwjgl3-glfw-awt-macos:$libgdxVersion"
|
|
|
|
+ implementation "com.badlogicgames.gdx:gdx-box2d:$libgdxVersion"
|
|
|
|
+ implementation "com.badlogicgames.gdx:gdx-box2d-platform:$libgdxVersion:natives-desktop"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-configure(subprojects - project("spine-libgdx")) {
|
|
|
|
|
|
+project("spine-skeletonviewer") {
|
|
|
|
+ apply plugin: "java"
|
|
|
|
+ sourceSets.main.java.srcDirs = ["src"]
|
|
sourceSets.main.resources.srcDirs = ["assets"]
|
|
sourceSets.main.resources.srcDirs = ["assets"]
|
|
|
|
|
|
dependencies {
|
|
dependencies {
|
|
- implementation project(":spine-libgdx")
|
|
|
|
|
|
+ implementation project(":spine-libgdx")
|
|
implementation "com.badlogicgames.gdx:gdx:$libgdxVersion"
|
|
implementation "com.badlogicgames.gdx:gdx:$libgdxVersion"
|
|
implementation "com.badlogicgames.gdx:gdx-platform:$libgdxVersion:natives-desktop"
|
|
implementation "com.badlogicgames.gdx:gdx-platform:$libgdxVersion:natives-desktop"
|
|
implementation "com.badlogicgames.gdx:gdx-backend-lwjgl3:$libgdxVersion"
|
|
implementation "com.badlogicgames.gdx:gdx-backend-lwjgl3:$libgdxVersion"
|