Search Gradle plugins

com.commercehub.gradle.plugin.avro

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/davidmc24/gradle-avro-plugin

Version 0.2.0

Created 07 June 2014.

* Build against Gradle 1.12
* Compile using Avro 1.7.6
* Support for qualified plugin ID
* Deprecate unqualified plugin ID

Using the plugins DSL:

plugins {
  id "com.commercehub.gradle.plugin.avro" version "0.2.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id("com.commercehub.gradle.plugin.avro") version "0.2.0"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects