Search Gradle plugins

org.jsonschema2dataclass

A plugins that generates Java or Scala sources from JsonSchema using jsonschema2pojo. Please, see the GitHub page for details

https://github.com/jsonschema2dataclass/js2d-gradle

Version 3.0.0 (latest)

Created 29 March 2021.

A plugins that generates Java sources from JsonSchema using jsonschema2pojo. Please, see the GitHub page for details

Using the plugins DSL:

plugins {
  id "org.jsonschema2dataclass" version "3.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.jsonschema2dataclass:jsonschema2dataclass:3.0.0"
  }
}

apply plugin: "org.jsonschema2dataclass"

Using the plugins DSL:

plugins {
  id("org.jsonschema2dataclass") version "3.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.org.jsonschema2dataclass:jsonschema2dataclass:3.0.0")
  }
}

apply(plugin = "org.jsonschema2dataclass")

Learn how to apply plugins to subprojects