The Avro Gradle plugin is now released in BETA and available on Maven Central: 
https://central.sonatype.com/artifact/eu.eventloopsoftware.avro-gradle-plugin/eu.eventloopsoftware.avro-gradle-plugin.gradle.plugin/versions

Usage: 
https://github.com/frevib/avro/blob/feat/gradle-plugin/lang/java/gradle-plugin/README.md

The plugin supports all options and works for AVSC files only for now​. ​

As I have a bit of a hard time contacting someone from the Avro community to 
help me with a release, I've released it under a domein I own, for now. When 
the plugin is ready for a final release, we can publish under it 
org.apache.avro.

Hielke

On Sunday, November 30th, 2025 at 17:43, H. de Vries <[email protected]> wrote:

> A new Gradle plugin is in development.
>
> The gradle-avro-plugin was donated to the Apache Avro more that a year ago. I 
> took on the effort to integrate it into the Avro repository. It turned out to 
> be very dissapointing. The donated code is very hard too maintain and very 
> hard to integrate into the Avro repo. I decided to rewrite it, as it couldn't 
> be that much work. The plugin already works for .avsc files, and most options 
> like createOptionalGetters, stringType also work. It's about 30% done, 
> lacking IDL and Protocol support for now. It's about ~700 LoC now. The 
> donated Avro plugin was ~10k LoC, so that seems an improvement for 
> maintainability. I tried to follow the same structure as the Maven plugin, so 
> it's easier to maintain.
>
> PR is here: https://github.com/frevib/avro/pull/2 . I will create a proper PR 
> to the Avro repo once the plugin is a bit more stable to use.
>
> I need some help with early testing the plugin. Please checkout 
> https://github.com/frevib/avro/tree/feat/gradle-plugin and follow 
> instructions in lang/java/gradle-plugin/README_TEST.md to run it.
>
> Any questions/issues I will answer asap.
>
> Regards,
> Hielke

Reply via email to