dropbox / dropbox/dependency-guard

Configuration cache failure when consuming root buildscript `classpath` configuration

Open
#113 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
493
Forks
19
PR merge metrics
No merged PRs in 30d

Description

When testing dependency guard on CI with configuration cache enabled, it seems to fail on a captured gradle script object. In this case, it's specifically when testing the buildscript classpath itself (literally the `classpath` configuration on the root project).

```
Task `:dependencyGuard` of type `com.dropbox.gradle.plugins.dependencyguard.internal.list.DependencyGuardListTask`: cannot serialize Gradle script object references as these are not supported with the configuration cache.
```

This is with 0.5.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.