Skip to content

fix: import Gradle projects that validate project properties - #15

Merged
1lck merged 1 commit into
mainfrom
codex/gradle-model-import-compatibility
Nov 20, 2026
Merged

1lck merged 1 commit into
mainfrom
codex/gradle-model-import-compatibility

Conversation

@1lck

@1lck 1lck commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Problem

Opening the upstream JUnit 5 repository at 8a21048 failed to import its Gradle model. Its settings reject unknown project properties, including the private litheModelOutput that the importer sent with -P. Dependency export used the same mechanism.

Changes

  • Pass model and dependency export paths and the selected dependency project as invocation-local command-line system properties. Read them from Gradle's start parameters in the packaged init script.
  • Update the native compiler integration test's model command and the documented flags.
  • Make the existing multi-project fixture reject Lithe's private flags if they enter the project property namespace again.

Verification

  • The strict fixture rejected the previous model command with Unknown build parameter: litheModelOutput. The Gradle 8.14 model, project and workspace dependency exports, incremental filtered tests, and package immutability checks passed with the fix on macOS ARM64.
  • The upstream JUnit 5 Gradle wrapper successfully exported 25 projects from the unchanged checkout. Develocity remote build-cache and scan access were disabled for that local run.
  • SDK verification, backend tests, compiler process tests, Groovy/Kotlin native compiler flows, and portable package tests passed locally. CI covers the remaining platform and Gradle combinations.

@1lck
1lck marked this pull request as ready for review November 20, 2026 18:13
@1lck
1lck merged commit d46e4d2 into main Nov 20, 2026
10 checks passed
@1lck 1lck mentioned this pull request Nov 21, 2026
1 task done
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