Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- configurations {
- externalLibs
- implementation.extendsFrom(externalLibs)
- }
- dependencies {
- minecraft group:'net.minecraftforge', name:'forge', version:'1.17.1-37.0.112'
- externalLibs "de.fr3qu3ncy.forgetools:core:1.0"
- externalLibs "de.fr3qu3ncy.forgetools:1.17:1.0"
- }
- jar {
- manifest {
- attributes([
- "Specification-Title" : "examplemod",
- "Specification-Vendor" : "examplemodsareus",
- "Specification-Version" : "1", // We are version 1 of ourselves
- "Implementation-Title" : project.name,
- "Implementation-Version" : project.jar.archiveVersion,
- "Implementation-Vendor" : "examplemodsareus",
- "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
- ])
- }
- from {
- configurations.externalLibs.collect { it.isDirectory() ? it : zipTree(it) }
- }
- }
- jar.finalizedBy('reobfJar')
Advertisement
Add Comment
Please, Sign In to add comment