1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00
Fixes https://github.com/cbeust/kobalt/issues/304
This commit is contained in:
Cedric Beust 2016-09-06 09:37:00 -07:00
parent 5dd11e22e5
commit b8194acd09

View file

@ -104,10 +104,14 @@ class DependencyManager2 @Inject constructor(val aether: KobaltAether) {
//
var i = 0
ids.forEach {
if (it.isMaven) {
val resolved = aether.resolveAll(it.id, filterScopes = scopeFilters)
.map { create(it.toString(), project.directory) }
i++
result.addAll(resolved)
} else {
result.add(it)
}
}
result.addAll(nonMavenDependencies)