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

Moe Sync #619

Merged
merged 1 commit into from
Mar 28, 2018
Merged

Moe Sync #619

merged 1 commit into from
Mar 28, 2018

Conversation

ronshapiro
Copy link
Contributor

This code has been reviewed and submitted internally. Feel free to discuss on the PR and we can submit follow-up changes as necessary.

Commits:

Update AutoValue's Gradle documentation to account for the built-in annotation processor configuration.

The standalone apt plugin is now only required for use on previous versions.

07426cb

…nnotation processor configuration.

The standalone apt plugin is now only required for use on previous versions.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=190688689
@ronshapiro ronshapiro merged commit 83e8094 into master Mar 28, 2018
@ronshapiro ronshapiro deleted the sync-master-2018/03/28 branch March 28, 2018 19:24
}
```

Note: If you are using a version of Gradle prior to 4.6, you must apply an
annotation processing plugin [as described in these instructions][tbroyer-apt]
and use the `apt` configuration instead of `annotationProcessor`.
Copy link
Contributor

Choose a reason for hiding this comment

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

No need to use apt; latest version of the plugin uses annotationProcessor

Copy link
Member

Choose a reason for hiding this comment

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

Thanks, we'll delete the business of using the apt configuration.

Note: If you are using a version of Gradle prior to 4.6, you must apply an
annotation processing plugin [as described in these instructions][tbroyer-apt]
and use the `apt` configuration instead of `annotationProcessor`.

[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.

Link to GitHub to get the documentation? (and not just the snippet to apply it)

Copy link
Member

Choose a reason for hiding this comment

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

There's a GitHub link right at the top of that page. Is there a link you'd rather see instead of the one here?

Copy link
Contributor

Choose a reason for hiding this comment

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

I was referring to https://github.com/tbroyer/gradle-apt-plugin, or https://github.com/tbroyer/gradle-apt-plugin/blob/master/README.md (see #606 (comment))

That link doesn't itself include instructions (it defers to https://plugins.gradle.org/plugin/net.ltgt.apt) but has the documentation for the plugin, and talks about setting up your IDE, which is facilitated using other plugins. Both links reference the other, so use the one you prefer, but I've had issues reported about not seeing generated code in IDEs from people that came from the Gradle Plugin Portal and didn't click through to the README (they did find where to report the issue though, so it might be that they just didn't bother looking things up before creating an issue).

I don't have a strong opinion on that one.

@ronshapiro ronshapiro mentioned this pull request Apr 3, 2018
ronshapiro pushed a commit that referenced this pull request Apr 3, 2018
ronshapiro pushed a commit that referenced this pull request Apr 4, 2018
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.

5 participants