Jendrik Johannes
09/24/2025, 7:00 AMorg.gradle.unsafe.isolated-projects in VS Code? Currently they add an init script that causes issues like
':app' cannot access 'Project.tasks' functionality on another project ':'Vampire
09/24/2025, 7:59 AMJosh Friend
09/24/2025, 12:15 PMJendrik Johannes
09/24/2025, 12:24 PMJosh Friend
09/24/2025, 12:31 PMJosh Friend
09/24/2025, 12:33 PMJendrik Johannes
09/25/2025, 8:01 AMVampire
09/25/2025, 8:10 AMAlex Semin
09/25/2025, 9:41 AMProject.tasks is a mutable container of the root project accessed from the child, and that’s why it fails.
This seems like a subproject needs to know something about its parent. So we’d need to learn what they are trying to do.
The main problem that IDEA faced when making sync IP compatible is implementing aggregation. Historically, there always was the root-project model builder that walked all subprojects to extract data. That is not IP compatible. The solution is to split the “main” model builder and the per-project model builders. The aggregation is then done by running nested build actions via BuildController.run — it’s IP safe and can even run the nested actions in parallel.Alex Semin
09/25/2025, 9:42 AMorg.gradle.configuration-cache=true) if you are enabling IP. CC is always implicitly enabled when IP is enabled.Jendrik Johannes
09/25/2025, 9:48 AMHistorically, there always was the root-project model builder that walked all subprojects to extract data.I will share the solution you described in the issue.