package: split tags correctly

This commit is contained in:
Max Weber
2020-02-18 15:25:33 -07:00
parent 3b0ccfce0a
commit c3432e63f3

View File

@@ -101,7 +101,9 @@ allprojects {
manifest.support = new URL(props["support"])
}
manifest.description = props["description"] ?: null
manifest.tags = props["tags"]?.split() ?: null
if (props["tags"]) {
manifest.tags = props["tags"].split(",")*.trim()
}
manifest.version = project.version
if (!(manifest.version ==~ /^[a-zA-Z0-9.-]+$/)) {