|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.gradle.api.plugins.JavaPluginConvention
class JavaPluginConvention extends java.lang.Object
Is mixed in into the project when applying the JavaBasePlugin or the JavaPlugin.
Property Summary | |
---|---|
java.lang.String |
dependencyCacheDirName
|
java.lang.String |
docsDirName
The name of the docs directory. |
org.gradle.api.java.archives.internal.DefaultManifest |
manifest
|
java.util.List |
metaInf
|
org.gradle.api.internal.project.ProjectInternal |
project
|
SourceSetContainer |
sourceSets
The source sets container. |
java.lang.String |
testReportDirName
The name of the test reports directory. |
java.lang.String |
testResultsDirName
The name of the test results directory. |
Constructor Summary | |
JavaPluginConvention(Project project)
|
Method Summary | |
---|---|
java.io.File
|
getDependencyCacheDir()
|
java.io.File
|
getDocsDir()
Returns a file pointing to the root directory supposed to be used for all docs. |
JavaVersion
|
getSourceCompatibility()
Returns the source compatibility used for compiling Java sources. |
JavaVersion
|
getTargetCompatibility()
Returns the target compatibility used for compiling Java sources. |
java.io.File
|
getTestReportDir()
Returns a file pointing to the root directory to be used for reports. |
java.io.File
|
getTestResultsDir()
Returns a file pointing to the root directory of the test results. |
Manifest
|
manifest()
Creates a new instance of a Manifest. |
Manifest
|
manifest(groovy.lang.Closure closure)
Creates and configures a new instance of a Manifest. |
void
|
setSourceCompatibility(java.lang.Object value)
Sets the source compatibility used for compiling Java sources. |
void
|
setTargetCompatibility(java.lang.Object value)
Sets the target compatibility used for compiling Java sources. |
java.lang.Object
|
sourceSets(groovy.lang.Closure closure)
Configures the source sets of this project. |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString() |
Property Detail |
---|
java.lang.String dependencyCacheDirName
java.lang.String docsDirName
@Deprecated org.gradle.api.java.archives.internal.DefaultManifest manifest
@Deprecated java.util.List metaInf
org.gradle.api.internal.project.ProjectInternal project
final SourceSetContainer sourceSets
java.lang.String testReportDirName
java.lang.String testResultsDirName
Constructor Detail |
---|
JavaPluginConvention(Project project)
Method Detail |
---|
java.io.File getDependencyCacheDir()
java.io.File getDocsDir()
JavaVersion getSourceCompatibility()
JavaVersion getTargetCompatibility()
java.io.File getTestReportDir()
java.io.File getTestResultsDir()
Manifest manifest()
Manifest manifest(groovy.lang.Closure closure)
closure
- The closure to use to configure the manifest.
void setSourceCompatibility(java.lang.Object value)
void setTargetCompatibility(java.lang.Object value)
java.lang.Object sourceSets(groovy.lang.Closure closure)
The given closure is executed to configure the SourceSetContainer. The SourceSetContainer is passed to the closure as its delegate.
closure
- The closure to execute.
Groovy Documentation