-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hi, I am trying to run the plugin with gradle 7.x (7.5.1) and I get the following errors when applied to a task. I believe there might be some lack of compatibility with gradle 7.x
11:47:54 - In plugin 'org.tenne.rest' type 'org._10ne.gradle.rest.RestTask' property 'client' is missing an input or output annotation.
11:47:54
11:47:54 Reason: A property without annotation isn't considered during up-to-date checking.
11:47:54
11:47:54 Possible solutions:
11:47:54 1. Add an input or output annotation.
11:47:54 2. Mark it as @Internal.
11:47:54
11:47:54 Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#missing_annotation for more details about this problem.
11:47:54 - In plugin 'org.tenne.rest' type 'org._10ne.gradle.rest.RestTask' property 'preemptiveAuth' has redundant getters: 'getPreemptiveAuth()' and 'isPreemptiveAuth()'.
11:47:54
11:47:54 Reason: Boolean property 'preemptiveAuth' has both an `is` and a `get` getter.
11:47:54
11:47:54 Possible solutions:
11:47:54 1. Remove one of the getters.
11:47:54 2. Annotate one of the getters with @Internal.
11:47:54
11:47:54 Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#redundant_getters for more details about this problem.
11:47:54 - In plugin 'org.tenne.rest' type 'org._10ne.gradle.rest.RestTask' property 'preemptiveAuth' of type boolean shouldn't be annotated with @Optional.
11:47:54
11:47:54 Reason: Properties of primitive type cannot be optional.
11:47:54
11:47:54 Possible solutions:
11:47:54 1. Remove the @Optional annotation.
11:47:54 2. Use the java.lang.Boolean type instead.
11:47:54
11:47:54 Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#cannot_use_optional_on_primitive_types for more details about this problem.
11:47:54 - In plugin 'org.tenne.rest' type 'org._10ne.gradle.rest.RestTask' property 'serverResponse' is missing an input or output annotation.
11:47:54
11:47:54 Reason: A property without annotation isn't considered during up-to-date checking.
11:47:54
11:47:54 Possible solutions:
11:47:54 1. Add an input or output annotation.
11:47:54 2. Mark it as @Internal.
11:47:54
11:47:54 Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#missing_annotation for more details about this problem.
11:47:54 ```
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels