stianh / gradle-jaxb-plugin

Gradle plugin for generating jaxb classes.
17 stars 11 forks source link

jaxb source sets #30

Open jvsrvcs opened 10 years ago

jvsrvcs commented 10 years ago

Would it be possible to flesh out this section a little more and to give some examples, at first glance I have no idea what this section refers to or what I am supposed to do. Do I include this in my build.gradle and also what are the most common default settings (at a very minimum, what do I need?)

the jaxb source directory sets

sourceSets {
    main {
        jaxb {
            <setup srcDir, includes, excludes, output, etc>
        }
    }

    test {
        jaxb {
            <setup srcDir, includes, excludes, output, etc>
        }
    }
}