How can I get list of a subproject dependecies as list of Project
object?
subproject.dependencies
gives list of DependencyHandler
objects. And I can't find how extract Project
from DependencyHandler
.
Asked
Active
Viewed 35 times
0

Alexey
- 2,980
- 4
- 30
- 53
1 Answers
0
After a short have found solution myself :)
subprojects {
configurations.all {
allDependencies.each {
if (it instanceof ProjectDependency) {
println it.dependencyProject
}
}
}
}

Alexey
- 2,980
- 4
- 30
- 53