mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
MavenId bug.
This commit is contained in:
parent
042f184d80
commit
81b59dced9
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ public class MavenId(val id: String) {
|
|||
groupId = c[0]
|
||||
artifactId = c[1]
|
||||
packaging = if (c.size == 4) c[2] else null
|
||||
version = if (c.size == 4) c[3] else c[2]
|
||||
version = if (c.size == 4) c[3] else if (c.size == 3 && ! c[2].isBlank()) c[2] else null
|
||||
}
|
||||
|
||||
val hasVersion = version != null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue