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