-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Import AutoValue via Gradle: why api and not implementation? #620
Comments
See discussion in #606. If |
@tbroyer Can you please explain the consequence of using |
Any annotation with retention class or runtime can cause issues in downstream modules (at compile time, during static analysis, etc.) under some conditions. Using So without going into details in the doc, best status quo is to suggest |
With Gradle ≥6.7, it's actually best to use |
In the user guide here, the instruction to import AutoValue states following.
Is there any specific reason to use
api
instead ofimplementation
? (In general, use ofimplementation
is preferred overapi
)The text was updated successfully, but these errors were encountered: