diff --git a/mirai-core-api/build.gradle.kts b/mirai-core-api/build.gradle.kts index 1a5442cc3..07b124ac1 100644 --- a/mirai-core-api/build.gradle.kts +++ b/mirai-core-api/build.gradle.kts @@ -27,13 +27,8 @@ kotlin { explicitApi() if (isAndroidSDKAvailable) { -// apply(from = rootProject.file("gradle/android.gradle")) -// android("android") { -// publishAllLibraryVariants() -// } jvm("android") { attributes.attribute(KotlinPlatformType.attribute, KotlinPlatformType.androidJvm) - // publishAllLibraryVariants() } } else { printAndroidNotInstalled() @@ -45,9 +40,6 @@ kotlin { jvm("jvm") -// jvm("android") { -// attributes.attribute(Attribute.of("mirai.target.platform", String::class.java), "android") -// } sourceSets { val commonMain by getting { diff --git a/mirai-core/build.gradle.kts b/mirai-core/build.gradle.kts index ab76907c5..473845051 100644 --- a/mirai-core/build.gradle.kts +++ b/mirai-core/build.gradle.kts @@ -33,13 +33,8 @@ kotlin { explicitApi() if (isAndroidSDKAvailable) { -// apply(from = rootProject.file("gradle/android.gradle")) -// android("android") { -// publishAllLibraryVariants() -// } jvm("android") { attributes.attribute(KotlinPlatformType.attribute, KotlinPlatformType.androidJvm) - // publishAllLibraryVariants() } } else { printAndroidNotInstalled() @@ -51,10 +46,6 @@ kotlin { jvm("jvm") - /* - jvm("android") { - attributes.attribute(ATTRIBUTE_MIRAI_TARGET_PLATFORM, "android") - }*/ sourceSets.apply { val commonMain by getting {