Skip to content

Conversation

@andreweacott
Copy link

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

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.

🤖 Generated with Claude Code

Co-Authored-By: Claude <[email protected]>
@changelog-app
Copy link

changelog-app bot commented Nov 6, 2025

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant