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 <gpe@openrs2.dev>
Graham 4 years ago
parent a235167b89
commit fceab7ee1e
  1. 4
      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 {

Loading…
Cancel
Save