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.3.0

Created 08 October 2014.

* IntelliJ: register generated source directories even if they don't already exist.
* Add avro-base plugin, which exposes tasks and the extension without creating tasks, defaults, etc.

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id("com.commercehub.gradle.plugin.avro") version "0.3.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.3.0")
  }
}

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

Learn how to apply plugins to subprojects