@groovy.transform.CompileStatic @groovy.util.logging.Slf4j class AsciidocSourceExtension extends Object
Adds Asciidoc attributes to the project.
| Constructor and description |
|---|
AsciidocSourceExtension
(Project project) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
attributes(java.util.Map<String, ?> attrs)Adds project attributes |
|
java.util.Map<String, Object> |
getAttributes()Gets the project-wide document attributes. |
|
Provider<java.util.Map<String, Object>> |
getAttributesProvider()A provider of attributes. |
|
void |
setDiscordChannel(String name)Sets the name for the Discord channel. |
|
void |
withGradleDocAttributes()Adds Gradle linkage attributes. |
|
void |
withGradleDocAttributes(String gradleVersion)Adds Gradle linkage attributes but use a specific gradleVersion. |
Adds project attributes
attrs - AttributesGets the project-wide document attributes.
A provider of attributes.
Sets the name for the Discord channel.
name - Channel nameAdds Gradle linkage attributes.
gradle-dsl - The Gradle DSL documentation.gradle-javadoc - The Gradle Javadoc documentation.grolifant-javadoc - The Grolifant Javadoc documentation.min-gradle-version - Minimum suypported Gradle version.
Requires a property minGradleVersion to be present.
minGradleVersion to be set a a Gradle property.
Adds Gradle linkage attributes but use a specific gradleVersion.
gradleVersion - Version of Gradle to use.