|
|
@@ -6,9 +6,10 @@
|
|
|
*
|
|
|
* https://github.com/mamoe/mirai/blob/master/LICENSE
|
|
|
*/
|
|
|
-
|
|
|
@file:Suppress("UNUSED_VARIABLE")
|
|
|
|
|
|
+import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType
|
|
|
+
|
|
|
plugins {
|
|
|
kotlin("multiplatform")
|
|
|
id("kotlinx-atomicfu")
|
|
|
@@ -55,12 +56,10 @@ kotlin {
|
|
|
}
|
|
|
|
|
|
jvm("common") {
|
|
|
- attributes.attribute(ATTRIBUTE_MIRAI_TARGET_PLATFORM, "common")
|
|
|
+ attributes.attribute(KotlinPlatformType.attribute, KotlinPlatformType.common)
|
|
|
}
|
|
|
|
|
|
- jvm("jvm") {
|
|
|
- attributes.attribute(ATTRIBUTE_MIRAI_TARGET_PLATFORM, "jvm")
|
|
|
- }
|
|
|
+ jvm("jvm")
|
|
|
|
|
|
// jvm("android") {
|
|
|
// attributes.attribute(Attribute.of("mirai.target.platform", String::class.java), "android")
|