@groovy.transform.CompileStatic class JvmCoreExtension extends Object
An extension for configuring JVM-based development.
| Type | Name and description |
|---|---|
Object |
artifactDescription |
| Constructor and description |
|---|
JvmCoreExtension
(Project project) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
exposeJavaPackagesInDocs(String[] packages)Add packages which should be exposed in GroovyDoc. |
|
Provider<String> |
getArtifactDescription()Description of the main artifact produced by this project. |
|
Provider<java.util.List<String>> |
getJavaPackagesInDocs()List of packages for which links can be created in docs. |
|
void |
javaLanguageVersion(int ver)Set the language toolchain to use. |
|
void |
javaLanguageVersion(String ver)Set the language toolchain to use. |
|
void |
setArtifactDescription(Object text)Sets a description for the artifact. |
Add packages which should be exposed in GroovyDoc.
These are packages above and beyond java.lang, java.io and java.net.
packages - List of packages.Description of the main artifact produced by this project.
List of packages for which links can be created in docs.
Set the language toolchain to use.
ver - VersionSet the language toolchain to use.
ver - VersionSets a description for the artifact. If not set, will try to read Project.getDescription.
test - Description of the main artifact.Groovy Documentation