mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Better resolution message.
This commit is contained in:
parent
63c9369041
commit
d32a84256c
1 changed files with 6 additions and 2 deletions
|
@ -213,8 +213,12 @@ class Aether(localRepo: File, val settings: KobaltSettings, eventBus: EventBus)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
val dependencyRequest = DependencyRequest(collectRequest(artifact, artifactScope), scopeFilter)
|
val dependencyRequest = DependencyRequest(collectRequest(artifact, artifactScope), scopeFilter)
|
||||||
system.resolveDependencies(session, dependencyRequest).artifactResults.map {
|
try {
|
||||||
AetherResult(it.artifact, it.repository)
|
system.resolveDependencies(session, dependencyRequest).artifactResults.map {
|
||||||
|
AetherResult(it.artifact, it.repository)
|
||||||
|
}
|
||||||
|
} catch(ex: Exception) {
|
||||||
|
throw KobaltException("Couldn't resolve $artifact", ex)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue