Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle configuration cache incompatibility with IntelliJ #809

Open
wegendt-bosch opened this issue Nov 19, 2024 · 0 comments
Open

Gradle configuration cache incompatibility with IntelliJ #809

wegendt-bosch opened this issue Nov 19, 2024 · 0 comments
Labels
gradle bug Create a report to help us improve

Comments

@wegendt-bosch
Copy link

wegendt-bosch commented Nov 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gradle bug Create a report to help us improve
Projects
None yet
Development

No branches or pull requests

1 participant