mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-04 00:45:57 +00:00
use proper inputFile option for remap task
This commit is contained in:
parent
7faadc3529
commit
5b5a531731
@ -46,7 +46,7 @@ val remapped = tasks.register<RemapJarTask>("remapShadedJar") {
|
|||||||
group = "fabric"
|
group = "fabric"
|
||||||
val shadowJar = tasks.getByName<ShadowJar>("shadowJar")
|
val shadowJar = tasks.getByName<ShadowJar>("shadowJar")
|
||||||
dependsOn(shadowJar)
|
dependsOn(shadowJar)
|
||||||
input.set(shadowJar.archiveFile)
|
inputFile.set(shadowJar.archiveFile)
|
||||||
archiveFileName.set(shadowJar.archiveFileName.get().replace(Regex("-shaded\\.jar$"), "-shaded-mapped.jar"))
|
archiveFileName.set(shadowJar.archiveFileName.get().replace(Regex("-shaded\\.jar$"), "-shaded-mapped.jar"))
|
||||||
addNestedDependencies.set(true)
|
addNestedDependencies.set(true)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user