Gradle Project Properties TODEPLETE: Difference between revisions
Jump to navigation
Jump to search
(→parent) |
(→path) |
||
Line 50: | Line 50: | ||
The File instance corresponding to the directory containing the build script. | The File instance corresponding to the directory containing the build script. | ||
====description==== | ====description==== |
Revision as of 19:50, 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
rootDir
The absolute path of the project root directory.
path=:
project
The Project instance.
projectDir
The File instance corresponding to the directory containing the build script.
description
A String containing the description for the project.
displayName
buildDir
A File representing <projectDir>/build.
buildFile
rootProject
rootProject.name
state
status
properties
The property map.