trevjonez / composer-gradle-plugin

Gradle task type and plugin for interacting with https://github.com/gojuno/composer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gradle Configuration Cache support

plastiv opened this issue · comments

Running ./gradlew --configuration-cache testDebugComposer with composer 1.0.0-rc08 on Gradle 7.0.1, AGP 4.1.2, Kotlin 1.4.32 results in error

What went wrong:
Configuration cache problems found in this build.

5 problems were found storing the configuration cache, 4 of which seem unique.
Task :database:testDebugComposer of type com.trevjonez.composer.ComposerTask: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
See https://docs.gradle.org/7.0.1/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

There are suggested replacement available at the documentation. Although I haven't check if they are suitable replacements.