forked from EsotericSoftware/spine-runtimes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[libgdx] Gradleify all projects, switch to LWJGL3"
This reverts commit c2ada54.
- Loading branch information
Showing
23 changed files
with
90 additions
and
379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,51 @@ | ||
group = "com.esotericsoftware.spine" | ||
version = "4.0.58.1" | ||
apply plugin: "java" | ||
apply plugin: "maven-publish" | ||
|
||
group = "com.github.EsotericSoftware" | ||
version = "4.0" | ||
|
||
ext { | ||
libgdxVersion = "1.10.1-SNAPSHOT" | ||
javaVersion = 8 | ||
libgdxVersion = "1.10.0" | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
mavenLocal() | ||
maven { url "https://oss.sonatype.org/content/repositories/snapshots" } | ||
mavenCentral() | ||
sourceSets.main.java.srcDirs = ["spine-libgdx/src"] | ||
sourceSets.test.java.srcDirs = ["spine-libgdx-tests/src"] | ||
|
||
repositories { | ||
maven { | ||
url "https://oss.sonatype.org/content/repositories/snapshots" | ||
} | ||
mavenCentral() | ||
} | ||
|
||
project("spine-libgdx") { | ||
apply plugin: "java" | ||
sourceSets.main.java.srcDirs = ["src"] | ||
dependencies { | ||
implementation "com.badlogicgames.gdx:gdx:$libgdxVersion" | ||
|
||
testImplementation "com.badlogicgames.gdx:gdx:$libgdxVersion" | ||
testImplementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$libgdxVersion" | ||
testImplementation "com.badlogicgames.gdx:gdx-platform:$libgdxVersion:natives-desktop" | ||
testImplementation "com.badlogicgames.gdx:gdx-box2d:$libgdxVersion" | ||
testImplementation "com.badlogicgames.gdx:gdx-box2d-platform:$libgdxVersion:natives-desktop" | ||
|
||
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 { | ||
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" | ||
} | ||
task myJavadocs(type: Javadoc) { | ||
source = sourceSets.main.allJava | ||
javadoc.options.addStringOption('Xdoclint:none', '-quiet') | ||
|
||
} | ||
|
||
project("spine-skeletonviewer") { | ||
apply plugin: "java" | ||
sourceSets.main.java.srcDirs = ["src"] | ||
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" | ||
} | ||
} | ||
task sourcesJar(type: Jar, dependsOn: classes) { | ||
classifier = 'sources' | ||
from sourceSets.main.allSource | ||
} | ||
|
||
task javadocJar(type: Jar, dependsOn: javadoc) { | ||
classifier = 'javadoc' | ||
from javadoc.destinationDir | ||
} | ||
|
||
artifacts { | ||
archives sourcesJar | ||
archives javadocJar | ||
} |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.