|
@@ -145,13 +145,14 @@ configure(subprojects - project("spine-libgdx")) {
|
|
|
}
|
|
|
|
|
|
project("spine-libgdx-tests") {
|
|
|
- task runHeadlessTest(type: JavaExec) {
|
|
|
- main = 'com.esotericsoftware.spine.HeadlessTest'
|
|
|
- classpath = sourceSets.main.runtimeClasspath
|
|
|
- workingDir = rootProject.projectDir
|
|
|
- if (project.hasProperty('args')) {
|
|
|
- args project.getProperty('args').split(' ')
|
|
|
+ task fatJar(type: Jar) {
|
|
|
+ manifest {
|
|
|
+ attributes 'Main-Class': 'com.esotericsoftware.spine.HeadlessTest'
|
|
|
}
|
|
|
+ archiveBaseName = 'spine-headless-test'
|
|
|
+ from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
|
+ with jar
|
|
|
+ duplicatesStrategy = DuplicatesStrategy.INCLUDE
|
|
|
}
|
|
|
}
|
|
|
|