From 035d01139ef25d659c13eec8cde892d81bf56ef3 Mon Sep 17 00:00:00 2001 From: Erik Christensen <40830816+erikc5000@users.noreply.github.com> Date: Sun, 7 Jan 2024 20:12:00 -0500 Subject: [PATCH] Revert "Workaround signing task output issue" This reverts commit 00293b553e6b1c211cbe6a784c988d8b06905fdb. --- build.gradle.kts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 7bc1c93..cfe6049 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -98,20 +98,6 @@ val isReleaseBuild get() = !version.toString().endsWith("SNAPSHOT") tasks.withType().configureEach { onlyIf { isReleaseBuild } - - // Workaround for https://youtrack.jetbrains.com/issue/KT-61313 - val pubName = name.removePrefix("sign").removeSuffix("Publication") - - // These tasks only exist for native targets, hence findByName() to avoid trying to find them for other targets - - // Task ':linkDebugTest' uses this output of task ':signPublication' without declaring an explicit or implicit dependency - tasks.findByName("linkDebugTest$pubName")?.let { - mustRunAfter(it) - } - // Task ':compileTestKotlin' uses this output of task ':signPublication' without declaring an explicit or implicit dependency - tasks.findByName("compileTestKotlin$pubName")?.let { - mustRunAfter(it) - } } publishing {