Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Gradle Plugin
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'no.nils:wsdl2java:0.10'
}
}
apply plugin: 'java'
apply plugin: 'no.nils.wsdl2java'
wsdl2javaExt {
cxfVersion = "3.1.10"
}
wsdl2java{
generatedWsdlDir = file("${projectDir}/src/main/service") //java source classes will be generated
wsdlDir=file("${projectDir}/src/main/resources/wsdl/") //wsdl directory
wsdlsToGenerate = [
[file("${projectDir}/src/main/resources/wsdl/wsdl1.wsdl")], //wsdl1
[file("${projectDir}/src/main/resources/wsdl/wsdl2.wsdl")], //wsdl2
[file("${projectDir}/src/main/resources/wsdl/wsdl3.wsdl")] //wsdl3
]
}
compileJava.dependsOn wsdl2java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.