Skip to content

Refactor property fetching to Gradle properties#287

Open
cpaleop wants to merge 1 commit into
touchlab:mainfrom
cpaleop:main
Open

Refactor property fetching to Gradle properties#287
cpaleop wants to merge 1 commit into
touchlab:mainfrom
cpaleop:main

Conversation

@cpaleop

@cpaleop cpaleop commented Jul 20, 2026

Copy link
Copy Markdown

Issue: #285

Summary

The linked issue describes a failure occurring when Gradle Project Isolation feature is enabled.

Project Isolation is promoted to incubating status in Gradle 9.7.0 which allows for early adoption, and some of our repositories only fail with the issue described here.

The issue with my change is that it will probably require changes to your docs. My changes introduce behavioral changes, because properties defined in the root project will no longer be accessible. Only properties set via:

  • gradle.properties
  • Passed as argument with -P prefix in CLI
  • Environment variables

Fix

Followed Gradle's suggestion when it comes to fetching properties, specifically this guide. In addition, this had a nice improvement in Gradle 9.6.0 in regards of configuration cache.

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