From fceab7ee1efb4823568f05db11ceac6e6dafffda Mon Sep 17 00:00:00 2001 From: Graham Date: Sun, 30 Aug 2020 16:21:25 +0100 Subject: [PATCH] Remove dokkaHtmlCollector from the build task Gradle seems to re-run this every time, so Drone ended up building the KDoc twice (once in the build stage and again in the publish stage). Removing it from the build stage ensures Drone only builds KDoc once. Signed-off-by: Graham --- build.gradle.kts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 12a47db5..5873d315 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -293,10 +293,6 @@ configure(subprojects.filter { it.isFree }) { } } -tasks.build { - dependsOn(":dokkaHtmlCollector") -} - val rejectVersionRegex = Regex("(?i)[._-](?:alpha|beta|rc|cr|m|dev)") tasks.dependencyUpdates {