You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This generate call done with gradle 6.8 and openapi-generator 5.0.0:
gradlew --warning-mode=all build
causes the following deprecation warning:
Querying the mapped value of task ':xxx:xxx:openApiGenerate' property 'outputDir' before task ':xxx:xxx:openApiGenerate' has completed has been deprecated. This will fail with an error in Gr
adle 7.0. Consult the upgrading guide for further information: https://docs.gradle.org/6.8/userguide/upgrading_version_6.html#querying_a_mapped_output_property_of_a_task_before_the_task_has_completed
vinkenfl
changed the title
[BUG] Gradle 6.7.1 complains about outputDir property to be deprecated
[BUG] Gradle 6.8 complains about outputDir property to be deprecated
Feb 1, 2021
As expected the plugin fails with Gradle 7.0-milestone-3. The following message is printed:
A problem was found with the configuration of task ':my-module:openApiGenerate' (type 'GenerateTask').
- Type 'GenerateTask' property 'input' annotated with @Internal should not be also annotated with @Input.
Reason: A property is ignored but also has input annotations.
Possible solutions:
1. Remove the input annotations.
2. Remove the @Internal annotation.
Please refer to https://docs.gradle.org/7.0-milestone-3/userguide/validation_problems.html#ignored_property_must_not_be_annotated for more details about this problem.
This generate call done with gradle 6.8 and openapi-generator 5.0.0:
gradlew --warning-mode=all build
causes the following deprecation warning:
This is the generate config for build.gradle
Currently the ist no way to avoid this message.
The text was updated successfully, but these errors were encountered: