1.11
This commit is contained in:
parent
a3445b4482
commit
651feab7e7
|
|
@ -6,7 +6,7 @@ plugins {
|
|||
}
|
||||
|
||||
group 'io.izzel.taboolib'
|
||||
version '1.10'
|
||||
version '1.11'
|
||||
|
||||
configurations {
|
||||
embed
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ class TabooLibExtension {
|
|||
relocation[pre] = post
|
||||
}
|
||||
|
||||
def description(closure) {
|
||||
def description(@DelegatesTo(Description.class) closure) {
|
||||
closure.delegate = des
|
||||
closure()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,17 +48,18 @@ class Description {
|
|||
nukkitNodes['prefix'] = prefix
|
||||
}
|
||||
|
||||
def contributors(closure) {
|
||||
def contributors(@DelegatesTo(Contributors.class) closure) {
|
||||
closure.delegate = con
|
||||
closure()
|
||||
}
|
||||
|
||||
def dependencies(closure) {
|
||||
def dependencies(@DelegatesTo(Dependencies.class) closure) {
|
||||
closure.delegate = dep
|
||||
closure()
|
||||
}
|
||||
|
||||
def links(Action<? super Links> action) {
|
||||
action.execute(lin)
|
||||
def links(@DelegatesTo(Links.class) closure) {
|
||||
closure.delegate = lin
|
||||
closure()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue