Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Review task input declaration #10

Open
stefanneuhaus opened this issue Jul 24, 2019 · 0 comments
Open

Review task input declaration #10

stefanneuhaus opened this issue Jul 24, 2019 · 0 comments

Comments

@stefanneuhaus
Copy link
Contributor

Currently the validateTaskProperties task emits a warning:

./gradlew cleanValidateTaskProperties validateTaskProperties

> Task :validateTaskProperties
Task property validation finished with warnings:
  - Warning: Type 'org.rewedigital.frost.tasks.FrostSetupTask': non-property method 'useProxy()' should not be annotated with: @Input

BUILD SUCCESSFUL in 796ms
5 actionable tasks: 2 executed, 3 up-to-date

According to the documentation of the @Input annotation the annotation should be used on properties in Groovy, but we use it on a method in order to achieve lazy configuration.

This task is to review if we still meet the best practices for Lazy Configuration.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant