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.4
Created 17 November 2014.
* Fix registration of generated sources for compilation (#8)
* Change classloader handling to better support import of external dependencies (#9)
Add this plugin to your build using the plugins DSL:
plugins {
id("com.commercehub.gradle.plugin.avro") version "0.3.4"
}
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.4") }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.4") } } apply(plugin = "com.commercehub.gradle.plugin.avro") - Applying plugins to all subprojects .