public interface AsciidoctorTaskOutputOptions
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
backends()
The current set of configured Asciidoctor backends.
|
void |
copyAllResources()
Copies all resources to the output directory.
|
void |
copyNoResources()
Do not copy any resources to the output directory.
|
void |
copyResourcesByBackend(java.lang.String backendName,
java.io.File sourceDir,
java.io.File outputDir,
java.util.Optional<java.lang.String> includeLang)
Copy resources for a backend name.
|
void |
copyResourcesOnlyIf(java.lang.String... backendNames)
Copy resources to the output directory only if the backend names matches any of the specified
names.
|
java.util.Set<java.io.File> |
getBackendOutputDirectories()
Returns a list of all output directories by backend
|
java.util.Optional<java.util.List<java.lang.String>> |
getCopyResourcesForBackends()
List of backends for which to copy resources.
|
java.io.File |
getOutputDirForBackend(java.lang.String backendName)
Get the output directory for a specific backend.
|
java.io.File |
getOutputDirForBackend(java.lang.String backendName,
java.lang.String language)
Get the output directory for a specific backend.
|
org.asciidoctor.gradle.base.OutputOptions |
getOutputOptions()
Access to the underlying
OutputOptions. |
java.util.Set<java.lang.String> backends()
void copyAllResources()
html5) require all resources to be copied to the output directory.
This is the default behaviour for this task.void copyNoResources()
pdf) process all resources in place.void copyResourcesByBackend(java.lang.String backendName,
java.io.File sourceDir,
java.io.File outputDir,
java.util.Optional<java.lang.String> includeLang)
backendName - Name of backend for which resources are copiedsourceDir - Source directory of resourcesoutputDir - Final output directory.includeLang - If set also copy resources for this specified languagevoid copyResourcesOnlyIf(java.lang.String... backendNames)
backendNames - List of names for which resources should be copied.@OutputDirectories java.util.Set<java.io.File> getBackendOutputDirectories()
@Internal java.util.Optional<java.util.List<java.lang.String>> getCopyResourcesForBackends()
null.java.io.File getOutputDirForBackend(java.lang.String backendName)
backendName - Name of backendjava.io.File getOutputDirForBackend(java.lang.String backendName,
java.lang.String language)
backendName - Name of backendlanguage - Language for which sources are being generated.org.asciidoctor.gradle.base.OutputOptions getOutputOptions()
OutputOptions.OutputOptions instance.