From 578b820dfe62e8308c1da1d2455526de5b7bc80d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=9D=8F=E9=BB=91?= Date: Mon, 2 Aug 2021 15:49:38 +0800 Subject: [PATCH] 1.14 --- build.gradle | 2 +- src/main/groovy/io/izzel/taboolib/gradle/RelocateJar.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)