Add missing task dependencies
@@ -15,6 +15,7 @@ class DocumentationPlugin : Plugin<Project> {
applyGitPublishPlugin()
addLinks()
configureGitPublishExtension()
+ configureTaskDependencies()
}
private
@@ -56,4 +57,11 @@ class DocumentationPlugin : Plugin<Project> {
}
}
}
+
+ private
+ fun Project.configureTaskDependencies() {
+ val groovydoc: Groovydoc by tasks.getting
+ val asciidoctor: AsciidoctorTask by tasks.getting
+ tasks["gitPublishPush"].dependsOn(groovydoc, asciidoctor)
+ }
}
\ No newline at end of file
