Owner:
David M. Carr
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.
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.
Add this plugin to your build using the plugins DSL:
plugins {
id("com.commercehub.gradle.plugin.avro") version "0.3.0"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("com.commercehub.gradle.plugin.avro:com.commercehub.gradle.plugin.avro.gradle.plugin:0.3.0") }It can then be applied in the precompiled script plugin:plugins { id("com.commercehub.gradle.plugin.avro") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.commercehub.gradle.plugin.avro:com.commercehub.gradle.plugin.avro.gradle.plugin:0.3.0") } } apply(plugin = "com.commercehub.gradle.plugin.avro") - Applying plugins to all subprojects .