Fix runTestmodClient in LibJF again (maybe)
This commit is contained in:
parent
2fec9ac288
commit
074627c5bf
14
jfmod.gradle
14
jfmod.gradle
|
@ -264,6 +264,19 @@ allprojects {
|
|||
}
|
||||
build.dependsOn remapMavenJar
|
||||
|
||||
task testmodJar(type: Jar) {
|
||||
from sourceSets.testmod.output
|
||||
destinationDirectory = new File(project.buildDir, "devlibs")
|
||||
archiveClassifier = "testmod"
|
||||
}
|
||||
|
||||
task remapTestmodJar(type: net.fabricmc.loom.task.RemapJarTask, dependsOn: testmodJar) {
|
||||
input = testmodJar.archiveFile
|
||||
archiveClassifier = "testmod"
|
||||
addNestedDependencies = false
|
||||
}
|
||||
build.dependsOn remapTestmodJar
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
|
@ -342,7 +355,6 @@ dependencies {
|
|||
include it
|
||||
}
|
||||
|
||||
testmodImplementation it.sourceSets.main.output
|
||||
testmodImplementation it.sourceSets.testmod.output
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ build_test:
|
|||
- gradle --build-cache deployDebug -Pmaven="$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/maven"
|
||||
- cp build/libs/* ./
|
||||
- cp build/devlibs/*-dev.jar ./
|
||||
- rm *-maven.jar *-sources.jar
|
||||
- rm *-maven.jar *-sources.jar *-testmod.jar
|
||||
- mv *-dev.jar dev.zip
|
||||
- mv *.jar latest.jar
|
||||
- mv dev.zip latest-dev.jar
|
||||
|
|
Loading…
Reference in New Issue