@SuppressWarnings(value: [ConfusingMethodName, ClassName]) @groovy.transform.CompileStatic interface AsciidoctorJSModules
Define versions for standard AsciidoctorJS modules.
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract void |
docbook(groovy.lang.Closure cfg)Configure docbook via closure. |
|
abstract void |
docbook(Action<AsciidoctorModuleDefinition> cfg)Configure docbook via an action. |
|
abstract org.asciidoctor.gradle.base.AsciidoctorModuleDefinition |
getByName(String name)Returns a module by name |
|
abstract org.asciidoctor.gradle.base.AsciidoctorModuleDefinition |
getDocbook()The Docbook module |
|
abstract boolean |
isSetVersionsDifferentTo(AsciidoctorJSModules other)For the module that are configured in both module sets, compare to see if the versions are the same |
Configure docbook via closure.
cfg - Configurating closureConfigure docbook via an action.
cfg - ConfiguratorReturns a module by name
name - Name of moduleThe Docbook module
null.For the module that are configured in both module sets, compare to see if the versions are the same
other - Other module set to compare.true if modules of the same kind were found, but with different versions.