|
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
Is mixed in into the project when applying the {@org.gradle.api.plugins.JavaBasePlugin} or the {@org.gradle.api.plugins.JavaPlugin}.
Property Summary | |
---|---|
java.lang.String |
dependencyCacheDirName
|
java.lang.String |
docsDirName
The name of the docs directory. |
DefaultManifest |
manifest
|
java.util.List |
metaInf
|
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()
Returns a new instance of an Manifest. |
Manifest
|
manifest(groovy.lang.Closure closure)
Returns a new instance of an 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)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
java.lang.String dependencyCacheDirName
java.lang.String docsDirName
@Deprecated DefaultManifest manifest
@Deprecated java.util.List metaInf
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)
void setSourceCompatibility(java.lang.Object value)
void setTargetCompatibility(java.lang.Object value)
java.lang.Object sourceSets(groovy.lang.Closure closure)
Groovy Documentation