Preview:
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"
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter