Skip to content

Commit

Permalink
Merge manifests for hybrid mod jar
Browse files Browse the repository at this point in the history
  • Loading branch information
me4502 committed Jan 6, 2024
1 parent 3295242 commit c62fe25
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions worldedit-mod/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ tasks.register<Jar>("jar") {
exclude("defaults/worldedit.properties")
exclude("pack.mcmeta")
}
manifest {
from(
zipTree({remapFabric.get().archiveFile}).find{ it.name=="MANIFEST.MF"}
)
from(
zipTree({project(":worldedit-forge").tasks.getByName("shadowJar").outputs.files.singleFile}).find{ it.name=="MANIFEST.MF"}
)
}

duplicatesStrategy = DuplicatesStrategy.FAIL
archiveClassifier.set("dist")
Expand Down

0 comments on commit c62fe25

Please sign in to comment.