Open SingingBush opened 1 year ago
I haven't tried it, but this might work
plugins {
id "com.github.davidmc24.gradle.plugin.avro" version "1.7.1"
}
dependencies {
avro 'com.github.sabomichal:avro-compiler-extension:0.1'
}
...
But just looking at the plugin implementation, it probably won't, since the plugin do not define custom configuration set as described here https://docs.gradle.org/current/userguide/implementing_gradle_plugins.html#providing_default_dependencies_for_plugins You need to find a way to workaround it or just file an issue for the plugin itself.
I didn't see anything maven specific in the code so expected this to also work with the gradle-avro-plugin.
I have a config like:
but I get the following error:
unable to load velocity tool class com.github.sabomichal.avroextensions.AvroGeneratorExtensions
It's probably that I'm not adding avro-compiler-extension to the build.gradle correctly. Any idea how to get this working in a gradle build?