1.12
This commit is contained in:
+1
-1
@@ -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()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user