From 0eb787ed089ac95f1bd0e27360f69d7e6b3b94e1 Mon Sep 17 00:00:00 2001 From: Wagyourtail Date: Mon, 8 Jul 2024 10:54:37 -0500 Subject: [PATCH] fix --- .../kotlin/xyz/wagyourtail/jvmdg/gradle/flags/DowngradeFlags.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle-plugin/src/main/kotlin/xyz/wagyourtail/jvmdg/gradle/flags/DowngradeFlags.kt b/gradle-plugin/src/main/kotlin/xyz/wagyourtail/jvmdg/gradle/flags/DowngradeFlags.kt index a97017e2..71023667 100644 --- a/gradle-plugin/src/main/kotlin/xyz/wagyourtail/jvmdg/gradle/flags/DowngradeFlags.kt +++ b/gradle-plugin/src/main/kotlin/xyz/wagyourtail/jvmdg/gradle/flags/DowngradeFlags.kt @@ -102,7 +102,7 @@ fun DowngradeFlags.toFlags(): Flags { flags.logLevel = Logger.Level.valueOf(logLevel.getOrElse("INFO").uppercase()) flags.printDebug = debug.getOrElse(false) flags.classVersion = downgradeTo.getOrElse(JavaVersion.VERSION_1_8).toOpcode() - flags.debugSkipStubs = debugSkipStubs.getOrElse(emptyList()).map { it.toOpcode() }.toSet() + flags.debugSkipStubs = debugSkipStubs.getOrElse(emptySet()).map { it.toOpcode() }.toSet() ignoreWarningsIn.getOrElse(emptyList()).forEach { flags.addIgnore(it) } flags.debugDumpClasses = debugDumpClasses.getOrElse(false) return flags