mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 06:11:24 +00:00
correctly jar-in-jar dependencies
This commit is contained in:
@@ -33,8 +33,8 @@ dependencies {
|
|||||||
modImplementation(fabricApi.module(apiModule, Versions.Fabric.fabricAPI))?.let { include(it) }
|
modImplementation(fabricApi.module(apiModule, Versions.Fabric.fabricAPI))?.let { include(it) }
|
||||||
}
|
}
|
||||||
|
|
||||||
modImplementation(include("me.lucko", "fabric-permissions-api", "0.1-SNAPSHOT"))
|
include(modImplementation("me.lucko", "fabric-permissions-api", "0.1-SNAPSHOT"))
|
||||||
modImplementation(include("cloud.commandframework", "cloud-fabric", Versions.Libraries.cloud))
|
include(modImplementation("cloud.commandframework", "cloud-fabric", Versions.Libraries.cloud))
|
||||||
}
|
}
|
||||||
|
|
||||||
loom {
|
loom {
|
||||||
@@ -62,6 +62,10 @@ val remapped = tasks.register<RemapJarTask>("remapShadedJar") {
|
|||||||
remapAccessWidener.set(true)
|
remapAccessWidener.set(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.named("assemble").configure {
|
||||||
|
dependsOn("remapShadowJar")
|
||||||
|
}
|
||||||
|
|
||||||
tasks.withType<Jar> {
|
tasks.withType<Jar> {
|
||||||
finalizedBy(remapped)
|
finalizedBy(remapped)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user