How to see all options can be set for gragle.properties

77 Views Asked by At

i haven seen many android samples and find that all uses mixtures of different options in gradle.properties and they have just given in docs like in these links

  1. Gradle
  2. Kotlin code style
  3. Kotlin kapt plugin
  4. Android X

but in docs they never really explain how to see and find all options that can be set and their default values

1

There are 1 best solutions below

1
On

There can be no complete list, because any plugin may use the gradle.properties file as its source for configuration. As shown in your first link, you may even define custom properties that can be used directly in the build script:

gradle.properties

junitVersion=4.13.2

build.gradle

dependencies {
    testImplementation group: 'junit', name: 'junit', version: junitVersion
}