LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gradle-properties

Gradle project properties viewer

TLDR

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

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

Copied to clipboard
Kai