Thanks to visit codestin.com
Credit goes to Github.com

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

Review task input declaration #10

@stefanneuhaus

Description

@stefanneuhaus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions