Skip to content

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

Closed
ronshapiro wants to merge 1 commit intomasterfrom
gradle_incap
Closed

DO NOT SUBMIT: Proposal for fixing https://github.com/google/dagger/issues/1120#1266
ronshapiro wants to merge 1 commit intomasterfrom
gradle_incap

Conversation

@ronshapiro
Copy link
Copy Markdown

No description provided.

@ronshapiro
Copy link
Copy Markdown
Author

/cc @oehme

@evant
Copy link
Copy Markdown

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
Copy Markdown
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

options.addAll(spiPlugins.allSupportedOptions());
options.addAll(validationPlugins.allSupportedOptions());
if (Ascii.equalsIgnoreCase(
"enabled", System.getProperties().getProperty("dagger.gradle.incremental"))) {
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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