Skip to content

Build: Switch to Palantir's gradle-revapi plugin - #18773

Open
slachiewicz wants to merge 1 commit into
apache:mainfrom
slachiewicz:build-palantir-revapi
Open

slachiewicz wants to merge 1 commit into
apache:mainfrom
slachiewicz:build-palantir-revapi

Conversation

@slachiewicz

@slachiewicz slachiewicz commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

The build uses org.revapi:gradle-revapi 1.8.0, a fork of Palantir's plugin whose last release is
from 2024; its Gradle 9 PR (revapi/gradle-revapi#18) was closed when Palantir released
com.palantir.revapi 2.0.0 with Gradle 9 support and folded the fork's fixes back in
(palantir/gradle-revapi#727). The DSL, the task names and .palantir/revapi.yml are the same, so
only the coordinates and the plugin id change. Part of #14094.

Test plan: ./gradlew revapi on Gradle 8.14.6 and JDK 21 analyzes all six modules and passes;
removing Expressions.truncate(String, int) makes :iceberg-api:revapi fail with
java.method.removed and the deprecation-rules message, so breaks are still reported.

@github-actions github-actions Bot added the build label Nov 3, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review November 3, 2026 16:16

This branch has not been deployed

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant