mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-03 15:10:14 +08:00
[build] Allow using "others" when configuring enabled mirai-core targets
This commit is contained in:
parent
c0ccdbe9d3
commit
23e02a433f
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user