Skip to content

Conversation

@copybara-service
Copy link
Contributor

Suggest compileOnlyApi rather than compile for AutoValue with Gradle.

Since compileOnlyApi is a recent feature, continue to mention the old way in a note.

Fixes #995.

RELNOTES=n/a

@google-cla google-cla bot added the cla: yes label Mar 15, 2021
…dle.

Since `compileOnlyApi` is a recent feature, continue to mention the old way in a note.

Fixes #995.

RELNOTES=n/a
PiperOrigin-RevId: 362995141
@copybara-service copybara-service bot merged commit 6fc8074 into master Mar 15, 2021
@copybara-service copybara-service bot deleted the test_362941738 branch March 15, 2021 18:58
Comment on lines +159 to 162
using a version prior to 4.6, you must apply an annotation processing plugin
[as described in these instructions][tbroyer-apt].

[tbroyer-apt]: https://plugins.gradle.org/plugin/net.ltgt.apt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be time to remove those lines: Gradle 4.6 is 3 years old already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Recommend compileOnlyApi for gradle scope of autovalue annotations

2 participants