com.github.bjornvester.xjc
Owner: Bjørn Mølgård Vester
Adds XJC tool to your project for generating Java source code for XML schemas (xsd files). Works with the Gradle build cache and has been tested with Java 8 and 11. Please see the Github project page for details.
https://github.com/bjornvester/xjc-gradle-plugin
Sources: https://github.com/bjornvester/xjc-gradle-plugin
Version 1.7.1
1.7.1
Created 16 June 2023.
Changes:
- Fixed a problem with a missing runtime dependency.
Changelog from 1.7.0:
- Added support for the Gradle configuration cache.
- It now defaults to XJC 3.x, generating source code using the jakarta namespace. This can be changed back to using javax with a configuration change.
- Minor bump of default versions.
- Added configurations "useJakarta" and "addCompilationDependencies".
- Minimum required of version of Gradle is now 6.7 (up from 6.0).
Using the plugins DSL:
plugins {
id("com.github.bjornvester.xjc") version "1.7.1"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("com.github.bjornvester:xjc-gradle-plugin:1.7.1")
}
}
apply(plugin = "com.github.bjornvester.xjc")
Using the plugins DSL:
plugins {
id "com.github.bjornvester.xjc" version "1.7.1"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.github.bjornvester:xjc-gradle-plugin:1.7.1"
}
}
apply plugin: "com.github.bjornvester.xjc"