You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| xsdDir | DirectoryProperty | "$projectDir/src<br>/main/resources" | The directory holding the xsd files to compile. |
45
-
| includes | ListProperty\<String> |\[empty\]| An optional include pattern for the files in the xsdDir property |
46
-
| excludes | ListProperty\<String> |\[empty\]| An optional exclude pattern for the files in the xsdDir property |
47
-
| bindingFiles |ConfigurableFileCollection| xsdDir.asFileTree.matching<br>{ include("**/*.xjb") } | The binding files to use in the schema compiler |
48
-
| outputJavaDir | DirectoryProperty | "$buildDir/generated<br>/sources/xjc/java" | The output directory for the generated Java sources.<br>Note that it will be deleted when running XJC. |
49
-
| outputResourcesDir | DirectoryProperty | "$buildDir/generated<br>/sources/xjc/resources" | The output directory for the generated resources (if any).<br>Note that it will be deleted when running XJC. |
50
-
| useJakarta | Provider\<Boolean> | true | Set to use the `jakarta` namespace. If false, uses the `javax` namespace. This value determines the default version of XJC and the JAXB binding provider. |
51
-
| xjcVersion | Provider\<String> | "3.0.2" for jakarta /<br> "2.3.8" for javax | The version of XJC to use. |
52
-
| defaultPackage | Provider\<String> |\[not set\]| The default package for the generated Java classes.<br>If empty, XJC will infer it from the namespace. |
53
-
| generateEpisode | Provider\<Boolean> | false | If true, generates an Episode file for the generated Java classes. |
54
-
| markGenerated | Provider\<Boolean> | false | If true, marks the generated code with the annotation `@javax.annotation.Generated`. |
55
-
| options | ListProperty\<String> |\[empty\]| Options to pass to either the XJC core, or to third party plugins in the `xjcPlugins` configuration |
56
-
| groups |NamedDomainObjectContainer|\[empty\]| Allows you to group a set of XSDs and generate sources with different configurations. Requires Gradle 7.0 or higher. See below for details. |
57
-
| addCompilationDependencies | Provider\<Boolean> | true | Adds dependencies to the `implementation` configuration for compiling the generated sources. These includes `jakarta.xml.bind:jakarta.xml.bind-api` and possibly `jakarta.annotation:jakarta.annotation-api`. |
| xsdDir | DirectoryProperty | "$projectDir/src<br>/main/resources"| The directory holding the xsd files to compile. |
45
+
| includes | ListProperty\<String> |\[empty\]| An optional include pattern for the files in the xsdDir property |
46
+
| excludes | ListProperty\<String> |\[empty\]| An optional exclude pattern for the files in the xsdDir property |
47
+
| bindingFiles |ConfigurableFile-<br>Collection| xsdDir.asFileTree<br>.matching<br>{ include("**/*.xjb") } | The binding files to use in the schema compiler |
48
+
| outputJavaDir | DirectoryProperty | "$buildDir/generated<br>/sources/xjc/java"| The output directory for the generated Java sources.<br>Note that it will be deleted when running XJC. |
49
+
| outputResourcesDir | DirectoryProperty | "$buildDir/generated<br>/sources/xjc/resources"| The output directory for the generated resources (if any).<br>Note that it will be deleted when running XJC. |
50
+
| useJakarta | Provider\<Boolean> | true| Set to use the `jakarta` namespace. If false, uses the `javax` namespace. This value determines the default version of XJC and the JAXB binding provider. |
51
+
| xjcVersion | Provider\<String> | "3.0.2" for jakarta /<br> "2.3.8" for javax| The version of XJC to use. |
52
+
| defaultPackage | Provider\<String> |\[not set\]| The default package for the generated Java classes.<br>If empty, XJC will infer it from the namespace. |
53
+
| generateEpisode | Provider\<Boolean> | false| If true, generates an Episode file for the generated Java classes. |
54
+
| markGenerated | Provider\<Boolean> | false| If true, marks the generated code with the annotation `@javax.annotation.Generated`. |
55
+
| options | ListProperty\<String> |\[empty\]| Options to pass to either the XJC core, or to third party plugins in the `xjcPlugins` configuration |
56
+
| groups |NamedDomainObject-<br>Container|\[empty\]| Allows you to group a set of XSDs and generate sources with different configurations. Requires Gradle 7.0 or higher. See below for details. |
57
+
| addCompilationDependencies | Provider\<Boolean> | true| Adds dependencies to the `implementation` configuration for compiling the generated sources. These includes `jakarta.xml.bind:jakarta.xml.bind-api` and possibly `jakarta.annotation:jakarta.annotation-api`. |
58
58
59
59
### Choosing which schemas to generate source code for
0 commit comments