Skip to content

Tag: gradle

Resolve circular dependency in gradle

I recently started developing a java project which has some sub projects within it. All of them are gradle. So let’s say there are two projects A and B which is already implemented. And I’m going to introduce another graldle project C. And the dependencies are like this. A has dependencies on B B …

Avro – java.io.IOException: Not a data file

I am using https://github.com/allegro/json-avro-converter to convert my json message into an avro file. After calling the convertToAvro method I get a byte array: byte[] byteArrayJson. Then I am using the commons library from Apache: The file is created. When I try to reconvert it to json, using: I have creat…

Multiple dependency versions with Gradle 5

I need to support 2 different versions of the same library (to support a legacy version), es4hadoop for Apache Spark. Version 6.2.2(https://mvnrepository.com/artifact/org.elasticsearch/elasticsearch-spark-13_2.10/6.2.2) Version 6.3.2 (https://mvnrepository.com/artifact/org.elasticsearch/elasticsearch-spark-13…