1.17
This commit is contained in:
parent
4d2bbc8054
commit
ec7038c311
|
|
@ -9,7 +9,7 @@ plugins {
|
|||
apply plugin: 'kotlin'
|
||||
|
||||
group 'io.izzel.taboolib'
|
||||
version '1.16'
|
||||
version '1.17'
|
||||
|
||||
configurations {
|
||||
embed
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ class BuilderBungee extends Builder {
|
|||
write(body, description.lin.links['homepage'], 'website')
|
||||
writeLine(body)
|
||||
// authors
|
||||
def con = description.con.contributors.collect { it.name }
|
||||
writeList(body, con, 'authors')
|
||||
def con = description.con.contributors.collect { it.name }.join(', ')
|
||||
write(body, con, 'author')
|
||||
writeLine(body)
|
||||
// dependency
|
||||
writeList(body, description.dep.dependencies
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ class BuilderVelocity extends Builder {
|
|||
|
||||
@Override
|
||||
byte[] build(Description description, Project project) {
|
||||
def json = new JsonArray()
|
||||
def info = new JsonObject()
|
||||
info.addProperty('id', project.name.toLowerCase())
|
||||
info.addProperty('name', project.name)
|
||||
|
|
@ -21,7 +20,6 @@ class BuilderVelocity extends Builder {
|
|||
writeList(info, description.dep.dependencies
|
||||
.findAll { it.with == null || it.with.equalsIgnoreCase('velocity') }
|
||||
.collect { it.name }, 'dependencies')
|
||||
json.add(info)
|
||||
return bytes(json)
|
||||
return bytes(info)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue