Search Gradle plugins

com.github.kad-leeuwg1.xjc

Changes: - Support for third-party plugins - Renamed the 'xjcBind' configuration to 'xjcBindings' - Support for marking the generated code with the @Generated annotation

https://github.com/kad-leeuwg1/xjc-gradle-plugin

Sources: https://github.com/kad-leeuwg1/xjc-gradle-plugin

Version 1.5 (latest)

Created 31 August 2020.

Changes:
- Move configuration to XJC task instead of the extension- Allow multiple XJC tasks to be configured

Using the plugins DSL:

plugins {
  id("com.github.kad-leeuwg1.xjc") version "1.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.kad-leeuwg1.xjc:xjc-gradle-plugin:1.5")
  }
}

apply(plugin = "com.github.kad-leeuwg1.xjc")

Using the plugins DSL:

plugins {
  id "com.github.kad-leeuwg1.xjc" version "1.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.kad-leeuwg1.xjc:xjc-gradle-plugin:1.5"
  }
}

apply plugin: "com.github.kad-leeuwg1.xjc"

Learn how to apply plugins to subprojects