diff --git a/buildSrc/src/main/kotlin/MppPublishing.kt b/buildSrc/src/main/kotlin/MppPublishing.kt index eaff17ab6..13f403fa3 100644 --- a/buildSrc/src/main/kotlin/MppPublishing.kt +++ b/buildSrc/src/main/kotlin/MppPublishing.kt @@ -68,7 +68,7 @@ fun Project.configureMppPublishing() { when (val type = publication.name) { "kotlinMultiplatform" -> { publication.artifactId = project.name - publishPlatformArtifactsInRootModule(publications.getByName("jvm") as MavenPublication) + // publishPlatformArtifactsInRootModule(publications.getByName("jvm") as MavenPublication) } "metadata" -> { // TODO: 2021/1/21 seems no use. none `type` is "metadata" publication.artifactId = "${project.name}-metadata" diff --git a/mirai-core-utils/build.gradle.kts b/mirai-core-utils/build.gradle.kts index 33fbf91f5..4428bf917 100644 --- a/mirai-core-utils/build.gradle.kts +++ b/mirai-core-utils/build.gradle.kts @@ -25,14 +25,6 @@ description = "mirai-core utilities" val isAndroidSDKAvailable: Boolean by project -afterEvaluate { - tasks.getByName("compileKotlinCommon").enabled = false - tasks.getByName("compileTestKotlinCommon").enabled = false - - tasks.getByName("compileCommonMainKotlinMetadata").enabled = false - tasks.getByName("compileKotlinMetadata").enabled = false -} - kotlin { explicitApi()