@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. |
|
void |
exposeSubprojectInDocs(String pkgName, String projectName)Exposes the APIs of a single subproject in the docs of this project. |
|
void |
exposeSubprojectsInDocs(java.util.Map<String, String> packages)Exposes the APIS of other subprojects in the docs of this project. |
|
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 |
includeInternalPackages(boolean flag)Whether to include the anything that is in package called internal/impl or subpackage thereof. |
|
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.Exposes the APIs of a single subproject in the docs of this project.
pkgName - Name of package.projectName - Name of project.Exposes the APIS of other subprojects in the docs of this project.
packages - Mapping where the key is the package name and the value is the project name.Description of the main artifact produced by this project.
List of packages for which links can be created in docs.
Whether to include the anything that is in package called internal/impl or subpackage thereof.
flag - true to include internal packages. (Default is not to include).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