1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-25 07:57:12 -07:00
This commit is contained in:
Cedric Beust 2017-02-07 16:38:56 -08:00
parent a7572fa2e5
commit e4c5336147

View file

@ -56,7 +56,7 @@ class ResolveDependency @Inject constructor(
val resolved : PairResult =
if (mavenId.hasVersion) {
val node = aether.resolve(id, filter = Filters.EXCLUDE_OPTIONAL_FILTER)
PairResult(AetherDependency(node.root.artifact), node.artifactResults[0].repository.id)
PairResult(AetherDependency(node.root.artifact), node.artifactResults[0].repository.toString())
} else {
latestArtifact(mavenId.groupId, mavenId.artifactId)
}