0 points

GitHub - qaware/xsd2java-gradle-plugin: The XSD2Java Gradle Plugin generates java classes from an existing XSD schema.


dashboard

Thu Oct 29 2020 13:03:03 GMT+0000 (UTC)

Posted by @aziz.articles@gmail.com

plugins {
    id 'de.qaware.gradle.plugin.xsd2java' version '1.0.0'
}

xsd2java {
    schemas {
        dummy {
            schemaDirPath 'src/main/resources/xsd'
            packageName 'de.qaware.gradle.plugin.xsd2java.dummy.xsd'
        }
    }
    
    extension true
    arguments ['-verbose']
    outputDir "${project.buildDir}/generated-sources/xsd2java"
}
content_copy Copy

https://github.com/qaware/xsd2java-gradle-plugin