Search Gradle plugins

com.github.gradlecommunity.jaxb2

Plugin for generating Java sources from XML schemas files.

https://github.com/GradleUp/jaxb2

Version 3.1.0 (latest)

Created 09 February 2021.

Plugin for generating Java sources from XML schemas files.

Using the plugins DSL:

plugins {
  id "com.github.gradlecommunity.jaxb2" version "3.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.gradlecommunity.jaxb2:jaxb2:3.1.0"
  }
}

apply plugin: "com.github.gradlecommunity.jaxb2"

Using the plugins DSL:

plugins {
  id("com.github.gradlecommunity.jaxb2") version "3.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.gradlecommunity.jaxb2:jaxb2:3.1.0")
  }
}

apply(plugin = "com.github.gradlecommunity.jaxb2")

Learn how to apply plugins to subprojects