Rafael Chaves
07/03/2025, 7:55 PMconfigurations
. Rodrigo and I were chatting about this earlier today, and one idea would that instead of making rules not depend on Configuration
objects, we could apply them at configuration time (when accessing project configurations is fine) collect results, and only report them at execution. But before we entertain that any further, what is your opinion?Nouran
07/07/2025, 8:26 PMNouran
07/07/2025, 8:28 PMRafael Chaves
07/07/2025, 8:36 PMOleg Nenashev
07/08/2025, 10:06 AMRafael Chaves
07/08/2025, 10:55 PMNouran
07/09/2025, 4:43 PMProvider<List<File>>
maybe not enough , I searched for other solutions and I found some examples using SetProperty<ResolvedArtifactResult>
I think I can give it a try and maybe in our session today i can understand more about this property.Nouran
07/09/2025, 8:52 PMNouran
07/09/2025, 8:52 PMC:\Users\User\test-pf>gradle clean build
Calculating task graph as no cached configuration is available for tasks: clean build
[Incubating] Problems report is available at: file:///C:/Users/User/test-pf/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to <https://docs.gradle.org/8.12.1/userguide/command_line_interface.html#sec:command_line_warnings> in the Gradle documentation.
BUILD SUCCESSFUL in 9s
15 actionable tasks: 7 executed, 8 up-to-date
Configuration cache entry stored.
C:\Users\User\test-pf>gradle build
Reusing configuration cache.
BUILD SUCCESSFUL in 1s
Rafael Chaves
07/09/2025, 9:44 PMRafael Chaves
07/09/2025, 9:45 PM--warning-mode all
Nouran
07/09/2025, 10:56 PMNouran
07/10/2025, 1:00 AMNouran
07/10/2025, 1:01 AMC:\Users\User\versions-plugin-test>gradlew dependencyUpdates
Calculating task graph as no cached configuration is available for tasks: dependencyUpdates
> Task :dependencyUpdates
------------------------------------------------------------
: Project Dependency Updates (report to plain text file)
------------------------------------------------------------
The following dependencies are using the latest milestone version:
- com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin:0.52.0
Gradle release-candidate updates:
- Gradle: [8.12.1 -> 8.14.3 -> 9.0.0-rc-1]
Generated report file C:\Users\User\versions-plugin-test\build\dependencyUpdates\report.txt
3 problems were found storing the configuration cache, 2 of which seem unique.
- Task `:dependencyUpdates` of 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.12.1/userguide/configuration_cache.html#config_cache:requirements:disallowed_types>
- Task `:dependencyUpdates` of type `com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask`: invocation of 'Task.project' at execution time is unsupported.
See <https://docs.gradle.org/8.12.1/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution>
See the complete report at file:///C:/Users/User/versions-plugin-test/build/reports/configuration-cache/4zcmf3pkawsyrxkbyfywlup04/iaq0f663ao5lp3qdz0iylozn/configuration-cache-report.html
[Incubating] Problems report is available at: file:///C:/Users/User/versions-plugin-test/build/reports/problems/problems-report.html
BUILD SUCCESSFUL in 4s
1 actionable task: 1 executed
Configuration cache entry discarded with 3 problems.
Nouran
07/10/2025, 8:39 AMOleg Nenashev
07/14/2025, 11:54 AMOleg Nenashev
07/14/2025, 1:15 PMRafael Chaves
07/14/2025, 2:46 PMOleg Nenashev
07/15/2025, 12:26 PMNouran
07/15/2025, 7:19 PMRafael Chaves
07/15/2025, 7:23 PMRafael Chaves
07/15/2025, 7:24 PMNouran
07/15/2025, 9:47 PMNouran
07/15/2025, 9:47 PMRafael Chaves
07/15/2025, 9:55 PMRafael Chaves
07/15/2025, 9:56 PMNouran
07/16/2025, 10:33 PMNouran
07/16/2025, 10:35 PMRafael Chaves
07/16/2025, 10:41 PMOleg Nenashev
07/17/2025, 2:52 PM