Gradle Project Properties TODEPLETE: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 36: | Line 36: | ||
====parent==== | ====parent==== | ||
====path==== | ====path==== | ||
Line 47: | Line 43: | ||
path=: | path=: | ||
====childProjects==== | ====childProjects==== | ||
====projectPath==== | ====projectPath==== | ||
Line 75: | Line 61: | ||
displayName=root project 'Playground RECON Serialization/Deserialization' | displayName=root project 'Playground RECON Serialization/Deserialization' | ||
====buildFile==== | ====buildFile==== | ||
Line 104: | Line 87: | ||
====parentIdentifier==== | ====parentIdentifier==== | ||
====depth==== | ====depth==== | ||
====buildFile==== | ====buildFile==== | ||
==Directories== | ==Directories== | ||
====buildDir==== | ====buildDir==== | ||
====rootDir==== | |||
The absolute path of the project root directory. | |||
====testResultsDirName==== | |||
Name of the relative directory. | |||
====testResultsDir==== | |||
Absolute path. | |||
====projectDir==== | |||
The File instance corresponding to the directory containing the build script. | |||
====buildDir==== | |||
A File representing <''projectDir''>/build. | |||
====docsDir==== | |||
====reportsDir==== | |||
====distsDirName==== | |||
====docsDirName==== | |||
==Containers== | ==Containers== |
Revision as of 20:14, 4 June 2018
Internal
Overview
The current project properties can be displayed with:
task displayProjectProperties {
doLast() {
for(Map.Entry p: project.getProperties()) {
println p;
}
}
}
Property List
name
group
version
parent
path
A String containing the absolute path of the project. The path of the root project is ":"
path=:
childProjects
projectPath
project
The Project instance.
description
A String containing the description for the project.
displayName
displayName=root project 'Playground RECON Serialization/Deserialization'
buildFile
rootProject
rootProject.name
state
state=project state 'EXECUTED'
status
status=integration
properties
The property map.
archivesBaseName
Defaults to name.
subprojects
parentIdentifier
depth
buildFile
Directories
buildDir
rootDir
The absolute path of the project root directory.
testResultsDirName
Name of the relative directory.
testResultsDir
Absolute path.
projectDir
The File instance corresponding to the directory containing the build script.
buildDir
A File representing <projectDir>/build.