gradle-properties

Gradle project properties viewer

TLDR

List all project properties
$ gradle properties
List with wrapper
$ ./gradlew properties
Set property via command line
$ gradle build -PmyProp=value
Set multiple properties
$ gradle build -Pprop1=val1 -Pprop2=val2

SYNOPSIS

gradle propertiesgradle [-Pname=value] task

DESCRIPTION

gradle properties displays all properties available in a Gradle project, including built-in properties and those defined in gradle.properties files. Properties can be set via command line with -P, through environment variables (ORGGRADLEPROJECT_name), or in gradle.properties files at project or user level.

PARAMETERS

-Pname=value

Set project property.
-Dorg.gradle.project.name=value
Set property via system property.

SEE ALSO

gradle(1), gradle-tasks(1)

RESOURCES

Documentation