build-info icon indicating copy to clipboard operation
build-info copied to clipboard

Gradle configuration cache incompatibility with IntelliJ

Open wegendt-bosch opened this issue 1 year ago • 2 comments

Describe the bug When using version 5.2.5 of com.jfrog.artifactory when debugging from IntelliJ gradle can never reuse its configuration cache because Calculating task graph as configuration cache cannot be reused because system property 'idea.debugger.dispatch.port' has changed. Changing 'idea.debugger.dispatch.port' on every run in and of itself would be ok, but build-info-extractor-gradle-5.2.5.jar!\initscripttemplate.gradle captures the whole of gradle.startParameter.getProjectProperties(). I've also opened a bug in IntelliJ, please work together to decide on who fixes what, I'm just a user ;)

https://youtrack.jetbrains.com/issue/IDEA-363515/Gradle-configuration-cache-never-reused

To Reproduce I've attached a sample project. Debug the task :app:launch to reproduce.

Expected behavior Gradle can always reuse the configuration cache.

Screenshots See ticket in IntelliJ

Versions

  • Gradle Artifactory plugin version: 5.2.5
  • Operating system: Windows 11
  • Artifactory Version: 7.90.15 rev 79015900

Additional context testproject-configcache.zip

wegendt-bosch avatar Nov 19 '24 14:11 wegendt-bosch

This issue has been marked as stale due to 6 months of inactivity. As part of our effort to address every issue properly, please feel free to remove the stale label or keep this issue active by leaving a comment. Otherwise, it will be closed in 7 days

github-actions[bot] avatar Aug 08 '25 00:08 github-actions[bot]

It would be nice to have this issue fixed

nskvortsov avatar Aug 08 '25 06:08 nskvortsov