bjornvester / wsdl2java-gradle-plugin

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

Support specifying output encoding #10

Open lkoe opened 3 years ago

lkoe commented 3 years ago

The plugin should allow to specify the output encoding.

The undocumented wsdl2java option -encoding can be used for this. The new option should default to the encoding set on the JavaCompile task. If the encoding is neither user specified nor provided by the JavaCompile task the option should be omitted from the wsdl2java params in which case the generator default to the platform encoding (current behaviour).