This commit is contained in:
坏黑 2021-08-02 15:49:38 +08:00
parent 943f2679f9
commit 578b820dfe
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ plugins {
} }
group 'io.izzel.taboolib' group 'io.izzel.taboolib'
version '1.13' version '1.14'
configurations { configurations {
embed embed

View File

@ -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)