Maybe fix issues with jar not including pack.

Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
This commit is contained in:
solonovamax
2020-11-24 19:46:31 -05:00
parent 76d3e29d55
commit b3e43321b5

View File

@@ -98,6 +98,7 @@ tasks.test {
tasks.named<ShadowJar>("shadowJar") {
from(tokenizeJavaSources.destinationDir)
dependsOn(downloadDefaultPacks)
archiveClassifier.set("shaded")
archiveBaseName.set("Terra")
@@ -168,7 +169,9 @@ val downloadDefaultPacks = tasks.create("downloadDefaultPacks") {
downloadAndUnzipPack(netherPackUrl)
}
}
tasks.processResources.get().dependsOn(downloadDefaultPacks)
tasks.processResources {
dependsOn(downloadDefaultPacks)
}
val testWithPaper = task<JavaExec>(name = "testWithPaper") {
standardInput = System.`in`