@SuppressWarnings(value: [ConfusingMethodName, ClassName]) @groovy.transform.CompileStatic class BaseAsciidoctorJSModules extends Object implements AsciidoctorJSModules
Define versions for standard AsciidoctorJS modules.
| Constructor and description |
|---|
BaseAsciidoctorJSModules
(org.ysb33r.grolifant.api.core.ProjectOperations projectOperations, org.asciidoctor.gradle.base.AsciidoctorModuleDefinition docbook)Creates a module definition that is attached to a specific asciidoctorjs extension. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
docbook(groovy.lang.Closure cfg)Configure docbook via closure. |
|
void |
docbook(Action<AsciidoctorModuleDefinition> cfg)Configure docbook via an action. |
|
org.asciidoctor.gradle.base.AsciidoctorModuleDefinition |
getByName(String name)Returns a module by name |
|
org.asciidoctor.gradle.base.AsciidoctorModuleDefinition |
getDocbook()The Docbook module |
|
boolean |
isSetVersionsDifferentTo(AsciidoctorJSModules other)For the modules that are configured in both module sets, compare to see if the versions are the same |
|
void |
onUpdate(Action<AsciidoctorJSModules> callback) |
|
protected void |
updateNow() |
Creates a module definition that is attached to a specific asciidoctorjs extension.
asciidoctorjs - Extension that this module is attached to.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 modules that are configured in both module sets, compare to see if the versions are the same
other - Other module set to compare.Copyright © 2013-2024 the original author or authors. All rights reserved.