Created
May 23, 2019 21:19
-
-
Save hendisantika/14258a321a5e7aac6354f46d84673138 to your computer and use it in GitHub Desktop.
Gradle Plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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