Skip to content

Commit

Permalink
Package forge-cli in published -dev jar
Browse files Browse the repository at this point in the history
  • Loading branch information
3arthqu4ke committed Aug 24, 2024
1 parent be830a2 commit d1c0765
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions headlessmc-launcher/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ jar {
attributes('Main-Class': MAIN_CLASS)
}

into ('headlessmc') {
from configurations.includeJarInResources
rename 'ForgeCLI(.*).jar', 'forge-cli.jar'
rename 'forgecli(.*).jar', 'forge-cli.jar'
}

exclude("module-info.class")
exclude("META-INF/maven/com.google.code.gson/**")
}
Expand Down

0 comments on commit d1c0765

Please sign in to comment.