Join Slack
Hello, what is the best way to transitively walk all project dependencies and search in each one for...
# gradle
n
nikolaymetchev
10/30/2017, 6:26 PM
Hello, what is the best way to transitively walk all project dependencies and search in each one for a particularly named artifact and then unzip it if it exists?
d
danny
10/30/2017, 7:11 PM
https://discuss.gradle.org/t/right-way-to-copy-contents-from-dependency-archives/7449
danny
10/30/2017, 7:12 PM
You’d just need to add an
include
to filter on the file you want
danny
10/30/2017, 7:13 PM
Full
Copy
documentation -
https://docs.gradle.org/current/dsl/org.gradle.api.tasks.Copy.html
n
nikolaymetchev
10/30/2017, 7:55 PM
Thanks
@danny
I was hoping to get a kotlin-dsl example. I am not sure that discussion applied. I'll attach the code I have now.
5
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by