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
{{ message }}
Repository navigation
Fix 'AbstractCompile.destinationDir property has been deprecated' error when using Gradle 8 #1646
Since jsonschema2pojo-gradle-plugin does not explicitly reference AbstractCompile#destinationDir then theoretically given warning should not pose a problem.
I've managed to trace down the source/location of given warning to
changed the title [-]The AbstractCompile.destinationDir property has been deprecated[/-][+]Fix 'AbstractCompile.destinationDir property has been deprecated' error when using Gradle 8[/+]on Jan 31, 2026
Activity
unkish commentedon Dec 10, 2024
Hi
Since
jsonschema2pojo-gradle-plugindoes not explicitly referenceAbstractCompile#destinationDirthen theoretically given warning should not pose a problem.I've managed to trace down the source/location of given warning to
jsonschema2pojo/jsonschema2pojo-gradle-plugin/src/main/groovy/org/jsonschema2pojo/gradle/GenerateJsonSchemaJavaTask.groovy
Line 88 in 50b2fca
It looks like that warning is emited due usage of meta
propertiesfield (.properties()).Replacing it with
would make warning go away.
@joelittlejohn what would be your opinion here - should the change be applied or it's not worth it ?
joelittlejohn commentedon Dec 11, 2024
Thanks for digging into this @unkish. Yes, this looks like a good change to me.
[-]The AbstractCompile.destinationDir property has been deprecated[/-][+]Fix 'AbstractCompile.destinationDir property has been deprecated' error when using Gradle 8[/+]