Search Gradle plugins

com.javagen.schema-gen

Generates Java, Kotlin and Swift 4 model, validation and marshalling code from XML Schema (.xsd) files

https://github.com/reaster/schema-gen

Sources: https://github.com/reaster/schema-gen

Version 0.9.1 (latest)

Created 24 January 2018.

Generates Java, Kotlin and Swift 4 model, validation and marshalling code from XML Schema (.xsd) files

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.javagen.schema-gen") version "0.9.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.javagen.schema-gen:com.javagen.schema-gen.gradle.plugin:0.9.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.javagen.schema-gen")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.javagen.schema-gen:com.javagen.schema-gen.gradle.plugin:0.9.1")
      }
    }
    
    apply(plugin = "com.javagen.schema-gen")
  • Applying plugins to all subprojects .