1.14
This commit is contained in:
parent
943f2679f9
commit
578b820dfe
|
|
@ -6,7 +6,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
group 'io.izzel.taboolib'
|
group 'io.izzel.taboolib'
|
||||||
version '1.13'
|
version '1.14'
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
embed
|
embed
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ class RelocateJar extends DefaultTask {
|
||||||
def buf = new byte[32768]
|
def buf = new byte[32768]
|
||||||
new JarFile(inJar).withCloseable { jarFile ->
|
new JarFile(inJar).withCloseable { jarFile ->
|
||||||
jarFile.entries().each { def jarEntry ->
|
jarFile.entries().each { def jarEntry ->
|
||||||
if (tabooExt.exclude.none { String e -> jarEntry.name.matches(e) }) {
|
if (tabooExt.exclude.stream().noneMatch { String e -> jarEntry.name.matches(e) }) {
|
||||||
jarFile.getInputStream(jarEntry).withCloseable {
|
jarFile.getInputStream(jarEntry).withCloseable {
|
||||||
if (jarEntry.name.endsWith(".class")) {
|
if (jarEntry.name.endsWith(".class")) {
|
||||||
def reader = new ClassReader(it)
|
def reader = new ClassReader(it)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue