mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-09 09:16:34 +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(include("me.lucko", "fabric-permissions-api", "0.1-SNAPSHOT"))
|
||||
modImplementation(include("cloud.commandframework", "cloud-fabric", Versions.Libraries.cloud))
|
||||
include(modImplementation("me.lucko", "fabric-permissions-api", "0.1-SNAPSHOT"))
|
||||
include(modImplementation("cloud.commandframework", "cloud-fabric", Versions.Libraries.cloud))
|
||||
}
|
||||
|
||||
loom {
|
||||
@@ -62,6 +62,10 @@ val remapped = tasks.register<RemapJarTask>("remapShadedJar") {
|
||||
remapAccessWidener.set(true)
|
||||
}
|
||||
|
||||
tasks.named("assemble").configure {
|
||||
dependsOn("remapShadowJar")
|
||||
}
|
||||
|
||||
tasks.withType<Jar> {
|
||||
finalizedBy(remapped)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user