Gradle Project Properties TODEPLETE: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(64 intermediate revisions by the same user not shown)
Line 3: Line 3:
* [[Gradle_Project_and_Build_Script#Other_Project_Properties|Gradle Project]]
* [[Gradle_Project_and_Build_Script#Other_Project_Properties|Gradle Project]]
* [[Gradle_Variables_and_Properties#Overview|Gradle Variables and Properties]]
* [[Gradle_Variables_and_Properties#Overview|Gradle Variables and Properties]]
=TO DEPLETE TO=
{{Internal|Gradle_Project_Coordinates,_State_and_Configured_Properties|Gradle_Project_Coordinates,_State_and_Configured_Properties}}


=Overview=
=Overview=
Line 23: Line 26:
=Property List=
=Property List=


====name====
====parent====


{{Internal|Gradle_Project_and_Build_Script#Project_Name.2C_artifactId|Gradle Project - name}}
====path====


====group====
A String containing the absolute path of the project. The path of the root project is ":"


{{Internal|Gradle_Project_and_Build_Script#Group.2C_groupId|Gradle Project - group}}
path=:


====version====
====childProjects====


{{Internal|Gradle_Project_and_Build_Script#Version|Gradle Project - version}}


====parent====
====projectPath====


====project====
====project====
Line 41: Line 43:
The Project instance.
The Project instance.


====projectDir====
====description====
 
A String containing the description for the project.
 
====displayName====
 
displayName=root project 'Playground RECON Serialization/Deserialization'
 
====buildFile====
 
====state====
 
state=project state 'EXECUTED'
 
====status====


The File instance corresponding to the directory containing the build script.
status=integration


====path====
====properties====


A String containing the absolute path of the project. The path of the root project is ":"
The property map.


====description====
====archivesBaseName====


A String containing the description for the project.
Defaults to [[#name|name]].


====displayName====
====subprojects====


====buildDir====
====parentIdentifier====


A File representing <''projectDir''>/build.
====depth====


====buildFile====
====buildFile====


====rootProject====
====buildPath====
 
==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 <font color=darkgray>the property is referenced in. This seems to be the case, but more experimentation is necessary here.</font>
 
====buildDir====
A File representing <''projectDir''>/build.
====docsDir====
====reportsDir====
====distsDirName====
====docsDirName====


=====rootProject.name=====
====testReportDir====


====state====
====testReportDirName====


====status====
====libsDir====


====properties====
====distsDir====


The property map.
====libsDirName====


====Containers====
==Containers==


=====configurations=====
=====configurations=====
=====plugins=====
=====plugins=====
=====projectRegistry=====
====tasks====
====dependencies====
====extensions====
====configurationActions====
====components====
====services====
====repositories====
====artifacts====
====sourceSets====
==All Plugin Properties==
==All Externally Defined Project Properties==
==Factories==
==Interesting and Unexplained==
====module====
====script====
====gradle====
====buildscript====
====allprojects====

Latest revision as of 05:46, 5 October 2020

Internal

TO DEPLETE TO

Gradle_Project_Coordinates,_State_and_Configured_Properties

Overview

The current project properties can be displayed with:

task displayProjectProperties {

    doLast() {

        for(Map.Entry p: project.getProperties()) {
            
            println p;
        }
    }
}

Property List

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

state

state=project state 'EXECUTED'

status

status=integration

properties

The property map.

archivesBaseName

Defaults to name.

subprojects

parentIdentifier

depth

buildFile

buildPath

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 the property is referenced in. This seems to be the case, but more experimentation is necessary here.

buildDir

A File representing <projectDir>/build.

docsDir

reportsDir

distsDirName

docsDirName

testReportDir

testReportDirName

libsDir

distsDir

libsDirName

Containers

configurations
plugins
projectRegistry

tasks

dependencies

extensions

configurationActions

components

services

repositories

artifacts

sourceSets

All Plugin Properties

All Externally Defined Project Properties

Factories

Interesting and Unexplained

module

script

gradle

buildscript

allprojects