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

DO NOT SUBMIT: Proposal for fixing https://github.com/google/dagger/issues/1120 #1266

Closed
wants to merge 1 commit into from

Conversation

ronshapiro
Copy link

No description provided.

@ronshapiro
Copy link
Author

/cc @oehme

@evant
Copy link

evant commented Aug 29, 2018

The android artifact has it's own processor I believe, should the same property be checked there as well?

@ronshapiro
Copy link
Author

@evant yep you're right. I don't think that one needs to remain dynamic, I think it's much safer to just enable that one from the getgo

@@ -93,6 +93,10 @@ public SourceVersion getSupportedSourceVersion() {
options.addAll(CompilerOptions.SUPPORTED_OPTIONS);
options.addAll(spiPlugins.allSupportedOptions());
options.addAll(validationPlugins.allSupportedOptions());
if (Ascii.equalsIgnoreCase(
"enabled", System.getProperties().getProperty("dagger.gradle.incremental"))) {
Copy link

Choose a reason for hiding this comment

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

As mentioned on the other thread, I think this could/should be an option, not a system property. Since init has already been called at this point, you already know all the options that were passed by the client.

Copy link
Author

Choose a reason for hiding this comment

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

SGTM

@ronshapiro
Copy link
Author

Closing this - I've imported the change internally and once it's reviewed we'll do our regular syncs

@ronshapiro ronshapiro closed this Aug 29, 2018
@ronshapiro ronshapiro deleted the gradle_incap branch August 29, 2018 21:34
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.

4 participants