palantir-java-format
palantir-java-format copied to clipboard
improvement: Publish executable shadowJar for formatter with CLI
Configure the palantir-java-format module to publish the shadowJar (fat JAR with all dependencies) as an additional artifact with 'executable' classifier. This enables distributing a self-contained formatter jar alongside the standard library artifacts.
Before this PR
The palantir-java-format Jar artifacts published from CI are not executable, making it hard to use the formatter as a CLI
After this PR
- A shadow Jar is built alongside the default formatter Jar
- The shadow Jar is additionally published to Maven with the 'executable' classifier
Possible downsides?
None I can think of
✅ Successfully generated changelog entry!
Entry generated via PR title
To modify this entry, edit PR title using proper format.
📋Changelog Preview
💡 Improvements
- Publish executable shadowJar for formatter with CLI (#1464)