Skip to content

Support for 1.4.3->2.0.0 migration #40

@cskramer

Description

@cskramer

I have seen similar questions on here, but still a bit fuzzy. How would the Gradle build file below (for example) be look in sourceSets/version 2.0 land?

plugins {
    id("org.unbroken-dome.xjc")
}

dependencies {
    api("com.foo.bar:jaxb-adapters:${project.version}")
}

tasks {
    "xjcGenerate" {
        extension = true
        source =  fileTree("src/main/resources/export") { include("**/*.xsd") }
        bindingFiles = fileTree("src/main/resources/bindings") { include("**/*.xml") }
        extraArgs = ["-npa", "-no-header"]
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions