Search Gradle plugins

com.github.bjornvester.xjc

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 0.1

Created 13 June 2019.

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.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.github.bjornvester.xjc") version "0.1"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.github.bjornvester.xjc:com.github.bjornvester.xjc.gradle.plugin:0.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.github.bjornvester.xjc")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.github.bjornvester.xjc:com.github.bjornvester.xjc.gradle.plugin:0.1")
      }
    }
    
    apply(plugin = "com.github.bjornvester.xjc")
  • Applying plugins to all subprojects .