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

Warning should not be displayed if "delegate build to gradle" is enabled #524

Open
brempusz opened this issue Aug 24, 2018 · 1 comment
Open

Comments

@brempusz
Copy link

brempusz commented Aug 24, 2018

Short description

"Lombok Requires Annotation Processing" warning is displayed even if IDEA option File | Settings | Build, Execution, Deployment | Build Tools | Gradle | Runner | Delegate IDE build/run actions to gradle is enabled.

Expected behavior

Warning should not be displayed.

Version information

  • IDEA Version: IntelliJ IDEA 2018.2.2 (Ultimate Edition), Build #IU-182.4129.33, built on August 21, 2018
  • JDK Version: 1.8.0_181
  • OS Type & Version: Windows 10
  • Lombok Plugin Version: 0.19-LATEST-EAP-SNAPSHOT
  • Lombok Dependency Version: 1.18.2 (with plugin io.franzbecker.gradle-lombok 1.14)

Steps to reproduce

  1. import gradle project in IDEA
  2. enable File | Settings | Build, Execution, Deployment | Build Tools | Gradle | Runner | Delegate IDE build/run actions to gradle
  3. disable File | Settings | Build, Execution, Deployment | Compiler | Annotation Processors | Enable annotation processing
  4. close the project
  5. open the project (warning will appear)

NOTE: after few tries I noticed that steps 2 and 3 are optional (after importing gradle project build delegation was enabled by default and annotation processing was disabled)

Sample project

https://github.com/brempusz/net.bartoos.bugs.lombok.idea-plugin-misleading-warning

NOTE: my .idea directory is attached as archive my-dot-idea.tar.gz (so you can reproduce the issue without removing my version of .idea directory)

Additional information

I think the problem is here: it should also check if delegating build to gradle is enabled.

@brempusz
Copy link
Author

brempusz commented May 3, 2019

Since v0.25 this warning can be disabled manually on project level. See #522.

@mplushnikov mplushnikov pinned this issue Mar 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants