Make Asciidoctor tasks run when Java examples are updated
Closes gh-25892
This commit is contained in:
parent
1b91c1706e
commit
76f74482d4
|
|
@ -128,6 +128,7 @@ class AsciidoctorConventions {
|
||||||
syncDocumentationSource.setDestinationDir(syncedSource);
|
syncDocumentationSource.setDestinationDir(syncedSource);
|
||||||
syncDocumentationSource.from("src/docs/");
|
syncDocumentationSource.from("src/docs/");
|
||||||
asciidoctorTask.dependsOn(syncDocumentationSource);
|
asciidoctorTask.dependsOn(syncDocumentationSource);
|
||||||
|
asciidoctorTask.getInputs().dir(syncedSource);
|
||||||
asciidoctorTask.setSourceDir(project.relativePath(new File(syncedSource, "asciidoc/")));
|
asciidoctorTask.setSourceDir(project.relativePath(new File(syncedSource, "asciidoc/")));
|
||||||
return syncDocumentationSource;
|
return syncDocumentationSource;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue