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 breaks form instrumentation #1283

Closed
YannCebron opened this issue Jan 19, 2023 · 1 comment
Closed

Gradle configuration cache breaks form instrumentation #1283

YannCebron opened this issue Jan 19, 2023 · 1 comment
Assignees
Labels
Milestone

Comments

@YannCebron
Copy link
Member

YannCebron commented Jan 19, 2023

Describe the bug

Instrumented form class breaks on 2nd runIde invocation

original report https://youtrack.jetbrains.com/issue/IDEA-310211 contains sample project and workaround to disable caching which makes it work again

Environment:

  • OS: any
  • Gradle IntelliJ Plugin Version 1.11.0/1.12.0
  • Gradle Version 7.5.1, 7.6.0 is also affected
@hsz
Copy link
Member

hsz commented Feb 9, 2023

Fix available in the latest 1.12.3-SNAPSHOT release — will be available in the upcoming release.

Note, if you work on a multi-module project, and your submodule uses Gradle IntelliJ Plugin, to use instrumented jar, please use:

dependencies {
   implementation(project(":submodule", "instrumentedJar"))
}

@hsz hsz closed this as completed Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants