diff --git a/adhan/build.gradle.kts b/adhan/build.gradle.kts index 4512c5d..d8237d9 100644 --- a/adhan/build.gradle.kts +++ b/adhan/build.gradle.kts @@ -4,7 +4,7 @@ import org.jetbrains.kotlin.gradle.targets.js.testing.KotlinJsTest plugins { kotlin("multiplatform") - kotlin("plugin.serialization") version "1.8.20" + kotlin("plugin.serialization") version "1.8.21" id("maven-publish") id("signing") } @@ -192,3 +192,8 @@ publishing { signing { sign(publishing.publications) } + +// TODO: remove after https://youtrack.jetbrains.com/issue/KT-46466 is fixed +project.tasks.withType(AbstractPublishToMaven::class.java).configureEach { + dependsOn(project.tasks.withType(Sign::class.java)) +} diff --git a/build.gradle.kts b/build.gradle.kts index 53a7e2a..2bbe27e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ buildscript { } dependencies { - classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.20") + classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.21") } }