-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Design doc for better/built-in Java annotation processing support #456
Conversation
@@ -0,0 +1,363 @@ | |||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This image is intended to eventually replace subprojects/docs/src/docs/userguide/img/javaPluginConfigurations.graphml
in the user guide.
Hey Thomas, |
Oh great! Looks a lot like what I do in
Yes sure. How should we start? Do you want me to first update this PR taking into account the |
For now I would update the design doc to reflect that we have now compileOnly dependencies. The test coverage should also contain integration tests to ensure we don't break anything regarding the current behaviour. Would you mind prefixing the different stories in the spec with |
85da74f
to
96f163f
Compare
Updated, also added a few things (used separate commits to make reviewing changes easier; tell me if you'd prefer I squash commits instead)
The reason is that you don't want annotation processor dependencies to mess with your project's dependencies, and end up with things that compile but don't run (hopefully fail tests, but that depends on test coverage). See google/dagger#228 and google/auto#268 That could probably be left to plugins though (such as |
This looks quite good to me. Yes I think we can just put a note on the stories which we probably no want in gradle core. Two minor remarks before I'll merge your stuff
|
Well, actually, no. I believe described unit tests would be enough for the rest here (but, well, I also believed they were enough by themselves, without even integration tests, so…)
Done. PTAL |
Hey, |
Thanks. What would be the next step then? Updating #450? |
yes. I think so. |
Superseeds #431
/cc @alkemist