Open MacTrophy opened 4 years ago
The exposed generatedWsdlDir
property has been removed, because it did not work with automatic configuration of source dirs.
If you need the generated files somewhere else, you can add a custom task for it:
task copyWsdlClasses(type: Copy) {
from 'build/generated/wsdl'
into 'build/vcs' // Your target here.
}
afterEvaluate {
tasks.withType(no.nils.wsdl2java.Wsdl2JavaTask).each {
it.finalizedBy copyWsdlClasses
}
}
If that works for you I can add it to the README :slightly_smiling_face:.
A changelog would be really nice because silently breaking compatibility is a bit frustrating.
Using 0.11 and 0.12 the generated files are built in
build/wsdl2java/...
and the copied inbuild/generated/wsdl
but nothing gets in the specifiedwsdlDir
. The presence of the directory specified inwsdlDir
is verified but nothing gets placed in it.I don't know if this has a link but with 0.10 there was the setting
generatedWsdlDir
which is no longer present for 0.11 and 0.12. This setting is still a variableWsdl2JavaTask.groovy
but it's no longer possible to change its value?I keep the generated code in a versioning repository, that is why I want to change this directory.
Oh also
wsdl2java
doesn't supportdoLast
therefore I cannot add a copy frombuild/generated/wsdl
into my directory, that could have been a solution to my problem.