I have a *.jar
file in my Gradle / Buildship project that resides in a lib
folder. I include it in my build.gradle
via:
compile files('libs/local-lib.jar')
I also have a correspondinglocal-lib-sources.jar
file that I would like to attach to it. In Eclipse, for manually managed dependencies this works via context menu of build path entry ->
Properties ->
Java Source Attachment. However, for gradle-managed dependencies, that option is not available.
Does anybody know how what the gradle/buildship way to do this looks like? My dependency is in no repository, so I'm stuck with compile files
for now.