public interface AsciidoctorModuleDefinition
extends org.gradle.api.Named
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getVersion()
Version of the component
|
boolean |
isDefined()
Whether the component has been allocated a version.
|
void |
setVersion(java.lang.Object o)
Set the version of the component to use.
|
void |
use()
Use the default version of this component
|
void |
version(java.lang.Object o)
Declarative way in DSL to set the version of the component to use.
|
void use()
void setVersion(java.lang.Object o)
o - Any object can can be converted to a String using
org.ysb33r.grolifant.api.StringUtils.stringizevoid version(java.lang.Object o)
o - Any object can can be converted to a String using
org.ysb33r.grolifant.api.StringUtils.stringizejava.lang.String getVersion()
null if no version was set.
The latter usually implies that the specific component is not needed.boolean isDefined()
true if the component has been defined