Gradle Isolated Projects is an important feature that will soon be stabilised.
It significantly speeds up configuration time.
Currently, projects using SKIE cannot use isolated project.
Here is the reproducer: https://github.com/LionZXY/SKIE-isolated-project-reproducer/
Problem
When enabling Gradle Isolated Projects, the SKIE plugin (co.touchlab.skie) causes configuration cache failures by dynamically looking up properties in parent projects.
Error:
Plugin 'co.touchlab.skie': Project ':app' cannot dynamically look up a property in the parent project ':'
Environment
- Gradle: 9.3.1
- Kotlin: 2.3.10
- SKIE: 0.10.10
Steps to Reproduce
./gradlew help -Dorg.gradle.unsafe.isolated-projects=true
Expected: Build succeeds
Actual: Build fails with configuration cache problem
Without Isolated Projects
Build succeeds.
Project Structure
:lib — KMP library (jvm + iOS) with a simple class exposing a Flow
:app — KMP app (jvm + iOS) that depends on :lib and applies the SKIE plugin
Gradle Isolated Projects is an important feature that will soon be stabilised.
It significantly speeds up configuration time.
Currently, projects using SKIE cannot use isolated project.
Here is the reproducer: https://github.com/LionZXY/SKIE-isolated-project-reproducer/
Problem
When enabling Gradle Isolated Projects, the SKIE plugin (
co.touchlab.skie) causes configuration cache failures by dynamically looking up properties in parent projects.Error:
Environment
Steps to Reproduce
./gradlew help -Dorg.gradle.unsafe.isolated-projects=trueExpected: Build succeeds
Actual: Build fails with configuration cache problem
Without Isolated Projects
./gradlew helpBuild succeeds.
Project Structure
:lib— KMP library (jvm + iOS) with a simple class exposing aFlow:app— KMP app (jvm + iOS) that depends on:liband applies the SKIE plugin