diff --git a/build.gradle.kts b/build.gradle.kts index bce39f6..b1bc482 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -33,4 +33,12 @@ allprojects { extra["signing.keyId"] = System.getenv("mavenSigningKeyId") extra["signing.secretKeyRingFile"] = System.getenv("mavenSigningKeyRingFile") extra["signing.password"] = System.getenv("mavenSigningKeyPassword") + + // workaround for a AGP/KMP bug + // https://youtrack.jetbrains.com/issue/KT-46466 + // https://github.com/gradle/gradle/issues/26091 + tasks.withType().configureEach { + val signingTasks = tasks.withType() + mustRunAfter(signingTasks) + } } \ No newline at end of file