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
The following is printed while executing forbiddenApis with --warning-mode all Gradle option with Gradle 6.0-rc-1 and de.thetaphi:forbiddenapis:2.7.
Property 'classesDir' is not annotated with an input or output annotation. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
Property 'patternSet' is not annotated with an input or output annotation. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
The text was updated successfully, but these errors were encountered:
Hi,
those are not problems, as the correct annotation is there (deprecated property shadowing another one). e.g., classesDir is only available as a setter for backwards compatibility for older Gradle versions. The "correct" property to use is "classesDirs".
The documentation is not clear what this means after 7.0.
patternSet is a shadow of includes / exlcudes. It's there to implement an interface. I have to figure out how other Gradle-internal tasks handle this. Maybe there is another annotation to prevent this warning from appearing (e.g. @AlreadyDefinedAsInputAndIKnowWhatIAmDoing)
The following is printed while executing
forbiddenApis
with--warning-mode all
Gradle option with Gradle 6.0-rc-1 andde.thetaphi:forbiddenapis:2.7
.The text was updated successfully, but these errors were encountered: