mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-24 20:43:33 +08:00
Use constants in buildscript
This commit is contained in:
parent
20b912bee7
commit
20bc17ee43
@ -54,11 +54,11 @@ kotlin {
|
||||
}
|
||||
|
||||
jvm("common") {
|
||||
attributes.attribute(Attribute.of("mirai.target.platform", String::class.java), "common")
|
||||
attributes.attribute(ATTRIBUTE_MIRAI_TARGET_PLATFORM, "common")
|
||||
}
|
||||
|
||||
jvm("jvm") {
|
||||
attributes.attribute(Attribute.of("mirai.target.platform", String::class.java), "jvm")
|
||||
attributes.attribute(ATTRIBUTE_MIRAI_TARGET_PLATFORM, "jvm")
|
||||
}
|
||||
|
||||
// jvm("android") {
|
||||
|
Loading…
Reference in New Issue
Block a user