Skip to content

Rename the third isolated-projects property deprecated in Gradle 9.7 - #8410

Merged
timtebeek merged 1 commit into
mainfrom
tim/gradle-9.7-recipe-gaps
Aug 6, 2026
Merged

Rename the third isolated-projects property deprecated in Gradle 9.7#8410
timtebeek merged 1 commit into
mainfrom
tim/gradle-9.7-recipe-gaps

Conversation

@timtebeek

@timtebeek timtebeek commented Aug 6, 2026

Copy link
Copy Markdown
Member

Gradle 9.7 promotes three org.gradle.unsafe.isolated-projects* properties out of the unsafe namespace, but MigrateIsolatedProjectsProperties only covered two of them, missing dangerously-ignore-problems.

The parent entry does not cover it by prefix either: the underlying ChangePropertyKey runs with relaxedBinding: false, which compiles to NameCaseConvention.EXACT and matches whole keys, so a build using the "dangerously ignore" mode would have kept a deprecated property name.

Adds the missing rename, extends the @DocumentExample to cover all three properties, and regenerates recipes.csv.

`MigrateIsolatedProjectsProperties` covered only two of the three
`org.gradle.unsafe.isolated-projects*` properties that Gradle 9.7
promotes out of the `unsafe` namespace, missing
`dangerously-ignore-problems`. Since the underlying `ChangePropertyKey`
runs with `relaxedBinding: false` it matches whole keys, so the parent
entry did not cover it by prefix.

Follow-up to #8381.
@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Aug 6, 2026
@timtebeek
timtebeek merged commit 231c02b into main Aug 6, 2026
1 check passed
@timtebeek
timtebeek deleted the tim/gradle-9.7-recipe-gaps branch August 6, 2026 16:08
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant