Skip to content

Commit

Permalink
Fixed maven publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanOltmann committed Dec 14, 2023
1 parent 448fcb0 commit 5c4f747
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ afterEvaluate {
val signMacosArm64Publication by tasks.getting
val signMacosX64Publication by tasks.getting
val signWinPublication by tasks.getting
val signWasmJsPublication by tasks.getting
val signWasmWasiPublication by tasks.getting
val signKotlinMultiplatformPublication by tasks.getting

val publishJvmPublicationToSonatypeRepository by tasks.getting
Expand All @@ -307,14 +309,17 @@ afterEvaluate {
val publishMacosArm64PublicationToSonatypeRepository by tasks.getting
val publishMacosX64PublicationToSonatypeRepository by tasks.getting
val publishWinPublicationToSonatypeRepository by tasks.getting
val publishWasmJsPublicationToSonatypeRepository by tasks.getting
val publishWasmWasiPublicationToSonatypeRepository by tasks.getting
val publishKotlinMultiplatformPublicationToSonatypeRepository by tasks.getting
val publishAllPublicationsToSonatypeRepository by tasks.getting

val signTasks = listOf(
signJvmPublication, signAndroidReleasePublication,
signIosArm64Publication, signIosSimulatorArm64Publication,
signMacosArm64Publication, signMacosX64Publication,
signWinPublication, signKotlinMultiplatformPublication
signWinPublication, signWasmJsPublication, signWasmWasiPublication,
signKotlinMultiplatformPublication
)

val publishTasks = listOf(
Expand All @@ -325,6 +330,8 @@ afterEvaluate {
publishMacosArm64PublicationToSonatypeRepository,
publishMacosX64PublicationToSonatypeRepository,
publishWinPublicationToSonatypeRepository,
publishWasmJsPublicationToSonatypeRepository,
publishWasmWasiPublicationToSonatypeRepository,
publishKotlinMultiplatformPublicationToSonatypeRepository,
publishAllPublicationsToSonatypeRepository
)
Expand Down

0 comments on commit 5c4f747

Please sign in to comment.