use proper inputFile option for remap task

This commit is contained in:
dfsek 2022-04-24 21:48:41 -07:00
parent 7faadc3529
commit 5b5a531731

View File

@ -46,7 +46,7 @@ val remapped = tasks.register<RemapJarTask>("remapShadedJar") {
group = "fabric"
val shadowJar = tasks.getByName<ShadowJar>("shadowJar")
dependsOn(shadowJar)
input.set(shadowJar.archiveFile)
inputFile.set(shadowJar.archiveFile)
archiveFileName.set(shadowJar.archiveFileName.get().replace(Regex("-shaded\\.jar$"), "-shaded-mapped.jar"))
addNestedDependencies.set(true)
}