Re: Help needed: gradle + testng
Le 29/11/2017 à 19:08, Markus Koschany a écrit :
> It doesn't build for me with pure gradle either. The latest version
> works when I skip the tests but I don't know how comparable that is
> because the upstream version comes with tons of prebuilt jar files and
> happily downloads even more from the internet. One update of bnd per
> release cycle would definitely be nice but I flinch from doing it at the
> moment because I can still recall the 30+ reverse-dependency updates
> when I did the 1.5 -> 2.1 transition and there are other tasks which I
> want to do first.
Fair enough ;) I'll give it a try.
> I have fixed this issue by updating gradle's use-local-artifacts.patch.
> Instead of looking for the junit module it now checks for junit4. I'm
> not sure why this was working with the previous version though.
I guess junit was pulled via some of the Maven dependencies (most
certainly plexus-container-default) and it went away with the completion
of the Maven 3 transition.