bjornvester / wsdl2java-gradle-plugin

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

Allow specifying a custom @Generated annotation #32

Open josephearl opened 7 months ago

josephearl commented 7 months ago

As noted in the docs, the usefulness of markGenerated is limited and does not exclude classes from e.g. Jacoco coverage because all of the current annotation options are only retained in the source.

Allow specifying a custom annotation class e.g. markGenerated.set("com.cast.Generated") so users can create a @Generated annotation that is retained in the class file or at runtime.