This commit is contained in:
坏黑 2021-08-23 14:10:09 +08:00
parent 8633b8e40d
commit 43fc609549
2 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,7 @@ plugins {
apply plugin: 'kotlin'
group 'io.izzel.taboolib'
version '1.19'
version '1.23'
configurations {
embed

View File

@ -29,6 +29,9 @@ class RelocateRemapper extends Remapper {
if (remapper != null) {
use.computeIfAbsent(remapper.className) { new HashSet() }.add(internalName)
}
if (internalName == 'kotlin.Metadata') {
return internalName
}
def match = slash.find { internalName.startsWith(it.key) }
if (match) {
return match.value + internalName.substring(match.key.length())