Gradle specific controls

This is a list of system flags that can be used to request specific Gradle behaviours. Please refer to the parent section to learn how to specify them to the client.

gradle.root.only=false

When true, forces the scanner to recursively traverse the directory path, analysing all Gradle projects present. By default, the client looks only in the root folder.

gradle.kts.dependency.set=dependencies

When using Gradle powered by Kotlin, it may be required to tell the scanner which configuration of dependencies it should take under consideration. For example, for an Android application, the value of such variable will be usually "app.dependencies" rather than the default value "dependencies".

gradle.configurations=implementation,test,release

When used, it allows to select which gradle configuration should be taken in account when executing the analysis. By default, all configurations are taken in account.

Last updated