renatoathaydes / osgi-run

Osgi-Run - A Gradle plugin to make the development of modular applications using OSGi completely painless
Apache License 2.0
54 stars 13 forks source link

How to download sources of dependencies? #65

Closed svatos-jirka closed 7 years ago

svatos-jirka commented 7 years ago

Hello,

how to download sources of dependencies (even transitive?)

with best regards, jiri

renatoathaydes commented 7 years ago

Hi, this is most likely a Gradle question. I think you might be able to do it by specifying a qualifier in the dependency declaration.

See https://stackoverflow.com/questions/28404149/how-to-download-javadocs-and-sources-for-jar-using-gradle-2-0

Example:

compile "commons-codec:commons-codec:1.10:sources"
svatos-jirka commented 7 years ago

?? what does it mean? Must I specify for each dependency new line with dependency which ends:sources?

No, it could be true??