Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Commit

Permalink
chore: Remove unnecessary process
Browse files Browse the repository at this point in the history
  • Loading branch information
sya-ri committed Nov 10, 2023
1 parent 9346a2a commit 0ecf276
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,6 @@ kotlin {
}
}
}

val publicationsFromMainHost =
listOf(jvm(), js()).map { it.name } + "kotlinMultiplatform"

publishing {
publications {
matching { it.name in publicationsFromMainHost }.all {
val targetPublication = this@all
tasks.withType<AbstractPublishToMaven>()
.matching { it.publication == targetPublication }
.configureEach { onlyIf { findProperty("isMainHost") == "true" } }
}
}
}
}

tasks.withType(KotlinJvmCompile::class.java).configureEach {
Expand Down

0 comments on commit 0ecf276

Please sign in to comment.