mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
41 lines
1.2 KiB
Groovy
41 lines
1.2 KiB
Groovy
group = "com.esotericsoftware.spine"
|
|
version = "4.1.0"
|
|
|
|
ext {
|
|
libgdxVersion = "1.10.1-SNAPSHOT"
|
|
javaVersion = 8
|
|
}
|
|
|
|
allprojects {
|
|
apply plugin: "java"
|
|
|
|
sourceSets.main.java.srcDirs = ["src"]
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
project("spine-libgdx") {
|
|
apply plugin: "java-library"
|
|
|
|
dependencies {
|
|
implementation "com.badlogicgames.gdx:gdx:$libgdxVersion"
|
|
}
|
|
}
|
|
|
|
configure(subprojects - project("spine-libgdx")) {
|
|
sourceSets.main.resources.srcDirs = ["assets"]
|
|
|
|
dependencies {
|
|
implementation project(":spine-libgdx")
|
|
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"
|
|
}
|
|
} |