[build] Allow using "others" when configuring enabled mirai-core targets

This commit is contained in:
Him188 2022-11-13 13:55:15 +00:00
parent c0ccdbe9d3
commit 23e02a433f

View File

@ -104,6 +104,7 @@ fun isTargetEnabled(name: String): Boolean {
"!native" in ENABLED_TARGETS && isNative -> false // native targets explicitly disabled
"!other" in ENABLED_TARGETS -> false // others disabled
"!others" in ENABLED_TARGETS -> false // others disabled
else -> true
}
}