Source code dependencies?

Hi,

I’m forced to build a project with Java 6 :frowning:
The problem that I have is that some of the dependencies are compiled with Java 7 or Java 8… leading me to the “Unsupported major.minor version 51.0” error

Is there a way to introduce “build first dependencies”?

So far, all those dependencies are Open Source and they have the whole project publicly hosted.

My question is if there is some “easy-sh” approach to let my build script to automatically check out those projects, build them (using Java 6) and use the created jar as my dependency?

Cheers
JD Evora

1 Like