Skip to content

SKIE does not work with enabled Gradle isolated projects #178

@LionZXY

Description

@LionZXY

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

./gradlew help

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions