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

Commit

Permalink
chore: Add publishKotlinMultiplatformPublicationToMavenRepository depend
Browse files Browse the repository at this point in the history
  • Loading branch information
sya-ri committed Nov 11, 2023
1 parent ace044e commit 07d5113
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ publishing {
}

afterEvaluate {
val targetNames = kotlin.targets.names.map(String::capitalized)
val targetNames = kotlin.targets.names.map(String::capitalized) + "KotlinMultiplatform"
val publishTasks = targetNames.mapNotNull { tasks.findByName("publish${it}PublicationToMavenRepository") }
val signTasks = (targetNames + "KotlinMultiplatform").mapNotNull { tasks.findByName("sign${it}Publication") }
val signTasks = targetNames.mapNotNull { tasks.findByName("sign${it}Publication") }

publishTasks.forEach { publishTask ->
signTasks.forEach { signTask ->
Expand Down

0 comments on commit 07d5113

Please sign in to comment.