1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Make the classifier part of the shortId.

This commit is contained in:
Cedric Beust 2016-03-27 13:28:42 -07:00
parent b72b426cc3
commit 8e343246b9

View file

@ -209,7 +209,7 @@ class AetherDependency(val artifact: Artifact): IClasspathDependency, Comparable
return result
}
override val shortId = artifact.groupId + ":" + artifact.artifactId
override val shortId = artifact.groupId + ":" + artifact.artifactId + ":" + artifact.classifier
override fun compareTo(other: AetherDependency): Int {
return Versions.toLongVersion(artifact.version).compareTo(Versions.toLongVersion(