Skip to content

W-23475822 fix(build): declare nativeCompile output directory for up-to-date checks#124

Merged
mlischetti merged 1 commit into
masterfrom
fix/gradle-nativecompile-outputs
Jul 16, 2026
Merged

W-23475822 fix(build): declare nativeCompile output directory for up-to-date checks#124
mlischetti merged 1 commit into
masterfrom
fix/gradle-nativecompile-outputs

Conversation

@mlischetti

Copy link
Copy Markdown
Contributor

Extracted from #119 (feat/new-native-bindings) as an independent build-correctness fix.

Problem

The GraalVM nativeCompile task did not declare its output directory, so Gradle could not reliably compute up-to-date status or resolve the native artifacts across projects.

Fix

Declare outputs.dir("${project.buildDir}/native/nativeCompile") on every nativeCompile task in subprojects (root build.gradle), so incremental builds and cross-project dependency resolution work correctly.

Notes

  • Branches off master; ~6 lines, no dependency on the new C/Go/Rust bindings in Native-bindings #119.
  • Verified: Gradle configures cleanly with the change.

…to-date checks

The GraalVM nativeCompile task did not declare its output directory, so
Gradle could not reliably compute up-to-date status or resolve the native
artifacts across projects. Declare outputs.dir on every nativeCompile task
in subprojects so incremental builds and cross-project dependency resolution
work correctly.

Extracted from the native-bindings branch (feat/new-native-bindings) as an
independent build-correctness fix.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mlischetti
mlischetti requested a review from a team as a code owner July 16, 2026 14:54
@mlischetti
mlischetti merged commit cf2b648 into master Jul 16, 2026
3 checks passed
@mlischetti
mlischetti deleted the fix/gradle-nativecompile-outputs branch July 16, 2026 17:09
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