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