mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-25 21:40:08 +00:00
Maybe fix issues with jar not including pack.
Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
This commit is contained in:
1 file changed
+4
-1
+4
-1
@@ -98,6 +98,7 @@ tasks.test {
|
|||||||
|
|
||||||
tasks.named<ShadowJar>("shadowJar") {
|
tasks.named<ShadowJar>("shadowJar") {
|
||||||
from(tokenizeJavaSources.destinationDir)
|
from(tokenizeJavaSources.destinationDir)
|
||||||
|
dependsOn(downloadDefaultPacks)
|
||||||
|
|
||||||
archiveClassifier.set("shaded")
|
archiveClassifier.set("shaded")
|
||||||
archiveBaseName.set("Terra")
|
archiveBaseName.set("Terra")
|
||||||
@@ -168,7 +169,9 @@ val downloadDefaultPacks = tasks.create("downloadDefaultPacks") {
|
|||||||
downloadAndUnzipPack(netherPackUrl)
|
downloadAndUnzipPack(netherPackUrl)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tasks.processResources.get().dependsOn(downloadDefaultPacks)
|
tasks.processResources {
|
||||||
|
dependsOn(downloadDefaultPacks)
|
||||||
|
}
|
||||||
|
|
||||||
val testWithPaper = task<JavaExec>(name = "testWithPaper") {
|
val testWithPaper = task<JavaExec>(name = "testWithPaper") {
|
||||||
standardInput = System.`in`
|
standardInput = System.`in`
|
||||||
|
|||||||
Reference in new issue
Block a user