Search Gradle plugins

com.commercehub.gradle.plugin.avro-base

A Gradle plugin to allow easily performing Java code generation for Apache Avro. It supports JSON schema declaration files, JSON protocol declaration files, and Avro IDL files.

https://github.com/commercehub-oss/gradle-avro-plugin

Version 0.9.1 (latest)

Created 13 October 2017.

A Gradle plugin to allow easily performing Java code generation for Apache Avro. It supports JSON schema declaration files, JSON protocol declaration files, and Avro IDL files. For the latest versions, please see https://bintray.com/commercehub-oss/main/gradle-avro-plugin

Using the plugins DSL:

plugins {
  id "com.commercehub.gradle.plugin.avro-base" version "0.9.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.commercehub.gradle.plugin:gradle-avro-plugin:0.9.1"
  }
}

apply plugin: "com.commercehub.gradle.plugin.avro-base"

Using the plugins DSL:

plugins {
  id("com.commercehub.gradle.plugin.avro-base") version "0.9.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.commercehub.gradle.plugin:gradle-avro-plugin:0.9.1")
  }
}

apply(plugin = "com.commercehub.gradle.plugin.avro-base")

Learn how to apply plugins to subprojects