...
Configuration File Parameter | Description and Expected Behavior | If True | If False | Default | Command Line Parameter Available? |
---|---|---|---|---|---|
gradle.ignoredConfigurations
| Enables you to determine which dependency configurations to ignore in the scan. The format is according to the following:
For example: ignores configurations named “testCompileOnly” and “testRuntimeOnly”.
For example: | N/A | N/A | No default | No |
gradle.resolveDependencies | Whether to resolve Gradle dependencies. Requires build.gradle or build.gradle.kts. | Resolves Gradle dependencies | Will not resolve Gradle dependencies | True | -gradle.resolveDependencies |
gradle.runAssembleCommand | In case of a missing dependency, executes the 'gradle assemble' command | Executes the 'gradle assemble' command | Will not execute the 'gradle assemble' command | True | No |
gradle.runPreStep | The Unified Agent will add additional jars to the customer's global cache. | For each build.gradle file that the Unified Agent finds:
| Will depend on Gradle dependencies to fill out missing cache dependencies. | False | No |
gradle.ignoreSourceFiles | When using the dependency resolver, it will include only package dependencies, not source files. NOTE: Only relevant when fileSystemScan is true. | The scan includes only package dependencies, not source files. | When using the dependency resolver, it will include package dependencies, plus source files. | False | No |
gradle.aggregateModules | Whether to create a single project for all modules. | Creates a single project for all modules. | A project will be created for each module. The name of the project will be equal to the name of the module (if so, projectName will be ignored). | False | -gradle.aggregateModules |
gradle.preferredEnvironment | When set to 'wrapper', the Unified Agent will run the 'gradlew' wrapper command. If set to 'gradle', it will use the built-in gradle command. | N/A | N/A | gradle | No |
gradle.localRepositoryPath | Paths to the gradle local repository. For example, in Windows, the path can be defined as the following: NOTE: From 19.5.3 it can handle a list of paths with comma/space-delimited. | N/A | N/A | No default | No |
gradle.wrapperPath | The path to | N/A | N/A | No default | No |
gradle.downloadMissingDependencies | Enables the user to disable downloading of missing dependencies in Gradle. | Enables the Unified Agent to download missing dependencies. | The Unified Agent will not download missing dependencies. | True | No |
gradle.additionalArguments | Enables users to add additional arguments to the Unified Agent's existing commands. The existing commands are gradle dependencies or gradle wrapper dependencies. This works the following way: Users can provide any parameters starting with '-' or '--', and Unified Agent will add these at the end For example:
| N/A | N/A | No default | No |
gradle.includedConfigurations | Enables you to determine which dependency configurations to include in the scan. The format is according to the following:
Values should be space-delimited.
Includes configurations named “compileOnly” and “testCompileOnly”.
For example:
Includes all configuration names that contain the string "Only" | N/A | N/A | No default | No |
gradle.excludeModules | Enables excluding specific modules in the Gradle scan. The format is according to the following:
| N/A | N/A | No default | No |
gradle.includeModules | Enables including specific modules in the Gradle scan. The format is according to the following:
| N/A | N/A | No default | No |
gradle.innerModulesAsDependencies | When set to false, this parameter ignores and excludes all the modules dependencies from the resolution scan. | Includes all the modules dependencies from the resolution scan." | Ignores and excludes all the modules dependencies from the resolution scan. | True | No |
...