We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The plugin extension should not be injected into a task implementation. That's bad practice. Instead, the actual properties of interest should be exposed as input/output declarations so that they can be handled by Gradle's incremental build functionality.
In the case of this particular task you should have something like this:
private final Property<Boolean> autoDownload; private final Property<Boolean> autoUpdate; ... @Input public Property<Boolean> getAutoDownload() { ... } @Input public Property<Boolean> getAutoUpdate() { ... }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The plugin extension should not be injected into a task implementation. That's bad practice. Instead, the actual properties of interest should be exposed as input/output declarations so that they can be handled by Gradle's incremental build functionality.
In the case of this particular task you should have something like this:
The text was updated successfully, but these errors were encountered: