Skip to content

build: support Gradle 9 - #107

Open
zeldrisho wants to merge 1 commit into
google:mainfrom
zeldrisho:gradle-9-compat-upstream
Open

zeldrisho wants to merge 1 commit into
google:mainfrom
zeldrisho:gradle-9-compat-upstream

Conversation

@zeldrisho

@zeldrisho zeldrisho commented Sep 30, 2026 •

Copy link
Copy Markdown

Update the Gradle build scripts for Gradle 9: use the current JavaExec and Jar task properties, avoid the removed IDEA testSourceDirs property while retaining test source directories, and explicitly order smali compilation after ANTLR source generation.

Verified the fat-JAR tasks with Gradle 9.8. The test suite passes on JDK 27 with JAVA_TOOL_OPTIONS=-Dnet.bytebuddy.experimental=true because the project's pinned Byte Buddy version does not yet officially recognize Java 27.

Refs Homebrew/homebrew-core/pull/314481

@google-cla

google-cla Bot commented Sep 30, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@zeldrisho zeldrisho changed the title Support Gradle 9 in build scripts build: support Gradle 9 Sep 30, 2026
@zeldrisho
zeldrisho marked this pull request as ready for review September 30, 2026 16:08
@zeldrisho
zeldrisho force-pushed the gradle-9-compat-upstream branch from 32e1309 to df0de5d Compare October 3, 2026 06:38
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