Open 5peak2me opened 7 months ago
@5peak2me Thank you for using the Gradle Artifactory plugin. Starting from version 5.1.3, support for the configuration cache has been added.
For illustration, executing ./gradlew --configuration-cache
resulted in the specific output showcased in this example:
➜ gradle-example-publish git:(master) ✗ ./gradlew --configuration-cache
Starting a Gradle Daemon (subsequent builds will be faster)
Configuration cache is an incubating feature.
Calculating task graph as no configuration cache is available for tasks:
> Task :help
Welcome to Gradle 7.6.2.
To run a build, run gradlew <task> ...
To see a list of available tasks, run gradlew tasks
To see more detail about a task, run gradlew help --task <task>
To see a list of command-line options, run gradlew --help
For more detail on using Gradle, see https://docs.gradle.org/7.6.2/userguide/command_line_interface.html
For troubleshooting, visit https://help.gradle.org
0 problems were found storing the configuration cache.
See the complete report at file:///Users/yahavi/code/project-examples/gradle-examples/gradle-example-publish/build/reports/configuration-cache/1jghqpu3uyirem2tgtyuk3vir/92qe1sqrpur8cabhklk0wsgwf/configuration-cache-report.html
BUILD SUCCESSFUL in 7s
1 actionable task: 1 executed
Configuration cache entry stored.
We go as far as utilizing the --configuration-cache
option in our integration tests. You can check out the integration tests code here.
Could you expand on this issue and share additional details or logs?
When executing the artifactoryPublish
task, the following error occurs
- Task `:artifactoryDeploy` of type `org.jfrog.gradle.plugin.artifactory.task.DeployTask`: cannot deserialize object of type 'org.gradle.api.Task' as these are not supported with the configuration cache.
See https://docs.gradle.org/8.3/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:core:extractModuleInfo` of type `org.jfrog.gradle.plugin.artifactory.task.ExtractModuleTask`: invocation of 'Task.project' at execution time is unsupported.
- Task `:feature:artifactoryPublish` of type `org.jfrog.gradle.plugin.artifactory.task.ArtifactoryTask`: value '[]' is not assignable to 'org.jfrog.build.extractor.clientConfiguration.ArtifactSpecs'
@5peak2me
./gradlew artifactoryPublish --no-configuration-cache
Is your feature request related to a problem? Please describe.
Describe the solution you'd like to see
support confuration cache.
Describe alternatives you've considered
No response
Additional context
No response