bjornvester / wsdl2java-gradle-plugin

A Gradle plugin for generating Java classes from WSDL files
MIT License
40 stars 14 forks source link

Issue with gradle version 7.0 #5

Closed TomBAMU closed 1 year ago

TomBAMU commented 3 years ago

Hi bjorn,

upgrading to gradle version 7.0 causes an error in combination with the plugin.

Type 'Wsdl2JavaTask' property 'sourcesOutputDir' is annotated with @PathSensitive but that is not allowed for 'OutputDirectory' properties. Reason: This modifier is used in conjunction with a property of type 'OutputDirectory' but this doesn't have semantics. Possible solution: Remove the '@PathSensitive' annotation. Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#incompatible_annotations for more details about this problem.

Is it possible to remove this issue in a newer version of this plugin?

I could open a PR with the possible solution, but I'm not sure this issue will resolve all incompatibilities with gradle 7.0. Looking forward to your response

Thanks

bjornvester commented 1 year ago

Thank you for the report, and apologies for the very late response. It has been fixed in the newest version of the plugin.