bjornvester / wsdl2java-gradle-plugin

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

Fix visibility of generated sources directory to Kotlin compilation #13

Open f4lco opened 3 years ago

f4lco commented 3 years ago

You've created a nice plugin, thank you for your efforts. I've been trying to use the generated Java sources from Kotlin. The Kotlin compiler did not see the generated sources directory and threw a lot of compilation errors at me. That's when I discovered that the logic of registering the generated sources directory is inside-out:

The new way also causes the Kotlin compiler to recognize the generated sources directory as input and I compiled happily thereafter. I'd be glad if you could integrate the patch and drop a new release.