diff --git a/build.gradle b/build.gradle index aa8664f..7246d98 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ plugins { } group 'io.izzel.taboolib' -version '1.13' +version '1.14' configurations { embed diff --git a/src/main/groovy/io/izzel/taboolib/gradle/RelocateJar.groovy b/src/main/groovy/io/izzel/taboolib/gradle/RelocateJar.groovy index bf0acd8..2f98c2b 100644 --- a/src/main/groovy/io/izzel/taboolib/gradle/RelocateJar.groovy +++ b/src/main/groovy/io/izzel/taboolib/gradle/RelocateJar.groovy @@ -53,7 +53,7 @@ class RelocateJar extends DefaultTask { def buf = new byte[32768] new JarFile(inJar).withCloseable { jarFile -> 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 { if (jarEntry.name.endsWith(".class")) { def reader = new ClassReader(it)