mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Make “doc” run before “assemble".
This commit is contained in:
parent
5edb52a69b
commit
a35cf0cc87
1 changed files with 2 additions and 1 deletions
|
@ -219,7 +219,8 @@ open class JvmCompilerPlugin @Inject constructor(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Task(name = "doc", description = "Generate the documentation for the project", group = GROUP_DOCUMENTATION)
|
@Task(name = "doc", description = "Generate the documentation for the project", group = GROUP_DOCUMENTATION,
|
||||||
|
runBefore = arrayOf("assemble"))
|
||||||
fun taskJavadoc(project: Project): TaskResult {
|
fun taskJavadoc(project: Project): TaskResult {
|
||||||
val docGenerator = ActorUtils.selectAffinityActor(project, context, context.pluginInfo.docContributors)
|
val docGenerator = ActorUtils.selectAffinityActor(project, context, context.pluginInfo.docContributors)
|
||||||
if (docGenerator != null) {
|
if (docGenerator != null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue