-
-
Notifications
You must be signed in to change notification settings - Fork 422
Open
Labels
Description
Expected and Results
Using version 9.0.0 of the shadow plugin, building the following repository:
https://github.com/abstratt/shadow-ip-violation-reproducer
fails with:
1 problem was found storing the configuration cache.
- Plugin 'com.gradleup.shadow': Project ':lib' cannot dynamically look up a property in the parent project ':'
This works fine with 9.0.0-beta11.
Here is the stacktrace:
plugin 'com.gradleup.shadow'
- Exception at `com.github.jengelman.gradle.plugins.shadow.internal.GradleCompatKt.findOptionalProperty(GradleCompat.kt:43)`
org.gradle.api.InvalidUserCodeException: Project ':lib' cannot dynamically look up a property in the parent project ':'
at org.gradle.api.internal.project.DefaultProject.findProperty(DefaultProject.java:1224)
at com.github.jengelman.gradle.plugins.shadow.internal.GradleCompatKt.findOptionalProperty(GradleCompat.kt:43)
at com.github.jengelman.gradle.plugins.shadow.ShadowPlugin.configureBuildScan(ShadowPlugin.kt:44)
at com.github.jengelman.gradle.plugins.shadow.ShadowPlugin.apply(ShadowPlugin.kt:33)
at com.github.jengelman.gradle.plugins.shadow.ShadowPlugin.apply(ShadowPlugin.kt:12)
at org.gradle.kotlin.dsl.execution.Interpreter$ProgramHost.applyPluginsTo(Interpreter.kt:387)
at Program.execute(Unknown Source)
at java.base/java.lang.Thread.run(Thread.java:833)
A workaround is to explicity configure the com.gradleup.shadow.enableDevelocityIntegration property.
Related environment and versions
Gradle 9.2
Reproduction steps
See:
https://github.com/abstratt/shadow-ip-violation-reproducer
Anything else?
No response