Search Gradle plugins

org.jsonschema2pojo

Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, and more.

http://www.jsonschema2pojo.org/

Sources: https://github.com/joelittlejohn/jsonschema2pojo

Version 1.2.2 (latest)

1.2.2

Created 21 September 2024.

Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, and more.

Using the plugins DSL:

plugins {
  id("org.jsonschema2pojo") version "1.2.2"
}

Using legacy plugin application:

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

apply(plugin = "org.jsonschema2pojo")

Using the plugins DSL:

plugins {
  id "org.jsonschema2pojo" version "1.2.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.jsonschema2pojo:jsonschema2pojo-gradle-plugin:1.2.2"
  }
}

apply plugin: "org.jsonschema2pojo"

Learn how to apply plugins to subprojects