Skip to content

Introduce palantir java format#44

Merged
fornwall merged 4 commits into
mainfrom
java-format
Jul 25, 2026
Merged

Introduce palantir java format#44
fornwall merged 4 commits into
mainfrom
java-format

Conversation

@fornwall

@fornwall fornwall commented Apr 4, 2026

Copy link
Copy Markdown
Owner

Introduce https://github.com/palantir/palantir-java-format and enforce it (CI will fail on unformatted code, which can be fixed by ./gradlew spotlessApply).

@dwalluck (as you have done recent changes):

  1. What do you think about this?
  2. Do you have any pending changes you want to merge first (to avoid merge conflicts)?
    • Otherwise, is it a good time to make a 0.12.0 release?

@fornwall fornwall changed the title Introdude palantir java format Introduce palantir java format Apr 5, 2026
@dwalluck

dwalluck commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

@fornwall Just two more left to go on top of #48 and then I'll retest against my app which actually uses the code and that should be everything. I am sure #48 will need rebasing before that, though.

Signed-off-by: Fredrik Fornwall <fredrik@fornwall.net>
fornwall added 3 commits July 26, 2026 00:17
- Gradle wrapper 9.4.1 -> 9.6.1
- JUnit 5.14.3 -> 6.1.2
- actions/checkout v6 -> v7
- Test on JDK 26 in CI
- Enable -Xlint:all and fix all resulting warnings
- Silence javadoc missing-comment noise while keeping other doclint checks
- Add settings.gradle.kts pinning the project name

Signed-off-by: Fredrik Fornwall <fredrik@fornwall.net>
The signing onlyIf predicate captured the Project instance, which the
configuration cache does not allow. Compute the decision when the task graph is
ready and store it in a property instead.

The nexus publish plugin marks its own tasks as incompatible, so sonatype
publishing keeps working with the configuration cache disabled for that build.

Signed-off-by: Fredrik Fornwall <fredrik@fornwall.net>
Weekly grouped updates for GitHub actions and Gradle dependencies and plugins.

Signed-off-by: Fredrik Fornwall <fredrik@fornwall.net>
@fornwall
fornwall merged commit d4942a1 into main Jul 25, 2026
11 checks passed
@fornwall
fornwall deleted the java-format branch July 25, 2026 22:32
@fornwall

Copy link
Copy Markdown
Owner Author

Also bumped gradle version and dependencies, enabled the gradle configuration cache, bumped GitHub actions and enabled dependabot.

@fornwall
fornwall restored the java-format branch July 25, 2026 23:12
@fornwall
fornwall deleted the java-format branch July 25, 2026 23:13
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.

2 participants