bjornvester / wsdl2java-gradle-plugin

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

Includes option not working for multiple wsdl files #30

Open vivekbdh opened 11 months ago

vivekbdh commented 11 months ago

I'm trying to generate classes from my multiple WSDL files with the following snippets of WSDL2JAVA code

id "com.github.bjornvester.wsdl2java" version "2.0.2"

wsdl2java {
    includes = [
            "src/main/resources/wsdl4.0/aflost.wsdl",
            "src/main/resources/wsdl4.0/process.wsdl",
            "src/main/resources/wsdl4.0/pdf.wsdl",
            "src/main/resources/wsdl4.0/totaris.wsdl"
    ]
    // Specify the WSDL file location
    wsdlDir.set(file('src/main/resources/wsdl4.0'))
    // Specify the package for the generated Java classes
    packageName = 'com.els.els_40'
    cxfVersion = "3.3.2"
    verbose = true
    useJakarta.set(false)
}

This is not generating any classes from wsdl files. Please note that if I don't add an includes option then it works fine.