Guest User

Untitled

a guest
Jan 6th, 2022
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. configurations {
  2. externalLibs
  3. implementation.extendsFrom(externalLibs)
  4. }
  5.  
  6. dependencies {
  7. minecraft group:'net.minecraftforge', name:'forge', version:'1.17.1-37.0.112'
  8. externalLibs "de.fr3qu3ncy.forgetools:core:1.0"
  9. externalLibs "de.fr3qu3ncy.forgetools:1.17:1.0"
  10. }
  11.  
  12. jar {
  13. manifest {
  14. attributes([
  15. "Specification-Title" : "examplemod",
  16. "Specification-Vendor" : "examplemodsareus",
  17. "Specification-Version" : "1", // We are version 1 of ourselves
  18. "Implementation-Title" : project.name,
  19. "Implementation-Version" : project.jar.archiveVersion,
  20. "Implementation-Vendor" : "examplemodsareus",
  21. "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
  22. ])
  23. }
  24. from {
  25. configurations.externalLibs.collect { it.isDirectory() ? it : zipTree(it) }
  26. }
  27. }
  28.  
  29. jar.finalizedBy('reobfJar')
Advertisement
Add Comment
Please, Sign In to add comment