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

Fix snapshot id resolution bug.

This commit is contained in:
Cedric Beust 2015-11-08 20:07:43 -08:00
parent 0e116c04f9
commit f7932840c2

View file

@ -19,6 +19,6 @@ open public class UnversionedDep(open val groupId: String, open val artifactId:
public fun toDirectory(v: String, fileSystem: Boolean = true): String {
val sep = if (fileSystem) File.separator else "/"
val l = listOf(groupId.replace(".", sep), artifactId, v)
return Strings.Companion.join(sep, l)
return Strings.Companion.join(sep, l) + "/"
}
}