Closed jimshowalter closed 1 year ago
The plugin informs Gradle that its task cannot be used as part of the configuration cache. In 8.0-8.2, Gradle changed to spam the console which was fixed in 8.3. The configuration cache is not widely supported (even by Gradle plugins) and not a necessary optimization for this task as not run continuously like a compile/test cycle. You can use -q
to silence this or upgrade to 8.3.
Oh, thank you!
oh I'm wrong on 8.3. I thought they fixed https://github.com/gradle/gradle/issues/24435, but -q
works like a charm so I just use that.
Upgrading to Gradle 8 and running dependencyUpdates generates this output:
- Task
:dependencyUpdatesof type
com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask`: cannot serialize a lambda that captures or accepts a parameter of type 'org.gradle.api.artifacts.Configuration' as these are not supported with the configuration cache. See https://docs.gradle.org/8.2.1/userguide/configuration_cache.html#config_cache:requirements:disallowed_types:dependencyUpdates
of typecom.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
: execution of task ':dependencyUpdates' caused invocation of 'Task.convention' in other task at execution time which is unsupported. See https://docs.gradle.org/8.2.1/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution:dependencyUpdates
of typecom.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
: execution of task ':dependencyUpdates' caused invocation of 'Task.project' in other task at execution time which is unsupported. See https://docs.gradle.org/8.2.1/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution:dependencyUpdates
of typecom.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
: invocation of 'Task.project' at execution time is unsupported. See https://docs.gradle.org/8.2.1/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution `Note: To see this, you may need to add this to gradle.properties:
org.gradle.configuration-cache=true