Hello
My Gradle application (lets call it my-app
) contains a dependency to an internal library (lets call it my-library
)
I would like to download my-library-source.jar
from Maven and copy files from inside it into my build directory. How can I do this? I was able to copy class files with this:
configurations.compile.files.each {
from zipTree(it)
into 'build/foo'
}
but I would like to do the same for source Java files
Thank you!