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
Using gradle 0.9.+ customAnnotator is deprecated and not used.
The TaskContainer.add() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the create() method instead. Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be removed in Gradle 2.0. Please read http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html for information on the replacement for dynamic properties. Deprecated dynamic property: "customAnnotator" on "project ':modelgen'", value: "com.rockabyte.ActiveAn...".
Same output is present when using any of the projects annotators as custom annotator.
The text was updated successfully, but these errors were encountered:
BlackHornet
changed the title
customAnnotator deprecated
[bug] customAnnotator deprecated
Mar 24, 2014
joelittlejohn
changed the title
[bug] customAnnotator deprecated
customAnnotator deprecated
Mar 24, 2014
I can replicate this easily using Gradle 1.6 and I've poured over the plugin code and the build configuration but I just cannot see why this message is displayed.
I've tried specifying every single configuration property supported by the plugin and this is the only one that has this problem. I've checked and re-checked the property names, tried changing the type of the property, no matter what I do the deprecation warning is shown and the setter is not called. I'm starting to think there's an obscure bug in Gradle that we've uncovered.
Maybe @ben-manes can shed some light? Ben, if you have time to look at this or at least just sanity check the code again and make sure it's nothing obvious that would be great :)
This appears to have been caused by some problem in the Eclipse groovy compiler that's present in 1.8.6-01 but not in 2.1.8-01. We've used the latter version for jsonschema2pojo 0.4.2 and this problem is no longer present.
joelittlejohn
changed the title
customAnnotator deprecated
customAnnotator shows 'dynamic properties deprecated' warning when using Gradle plugin
Jun 10, 2014
Using gradle 0.9.+ customAnnotator is deprecated and not used.
The TaskContainer.add() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the create() method instead. Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be removed in Gradle 2.0. Please read http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html for information on the replacement for dynamic properties. Deprecated dynamic property: "customAnnotator" on "project ':modelgen'", value: "com.rockabyte.ActiveAn...".
Same output is present when using any of the projects annotators as custom annotator.
The text was updated successfully, but these errors were encountered: