Skip to content
Advertisement

gradle build broken after dependency update

I use gradle to build a java project (ASCIIGenome).

One of the dependencies of ASCIIGenome is a repository on github (htsjdk, as you can see is a fork with some changes of mine). The ASCIIGenome project builds fine if I use this commit of htsjdk in build.gradle:

JavaScript

I made edits to htsjdk so now the dependency is

JavaScript

and now the build fails with the following:

JavaScript

I can’t understand why htsjdk:80e355c is ok while htsjdk:609ca91 fails. Any idea what changes break the build? Please let me know if more information is necessary

Advertisement

Answer

It turns out there is a bug in the .gitignore repository of htsjdk that caused some files to be ignored so the htsjdk dependency was broken. Fixing .gitignore fixed my problem.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement