Skip to content

[RUN-4667] Add docs for extra Gradle arguments option (11.0.0-beta2) #9486

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion content/en/docs/refguide/general/mxbuild.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ Command-line options are described in the table below:
| `--write-errors=FILENAME` | Writes all errors, warnings, and deprecations encountered during deployment of the app to the specified file in JSON format.<br />This file is only written when the app contains errors.<br />If the file already exists, it will be overwritten without a warning.<br />For a description of the format of this file, see the [App Errors](#app-errors) section below. |
| `--generate-sbom` | Generates a Software Bill of Materials (SBOM) file as a part of the `package` and `deployment` targets. The SBOM will be included in the deployment package if this option is used and is saved under its default location: `deployment\sbom.json` |
| `--sbom-output-path=VALUE` | The file path to generate a bill of material file for the `package` and `deployment` targets. Use `--output` for the `sbom` target (Default value: `deployment\sbom.json`). <br>This parameter is deprecated and will be removed in Mendix 11 and replaced with the `sbom` target.</br> |
| `--gradle-home` | Sets the Gradle home directory. This can be used when auto-detection of the Gradle installation fails. |
| `--gradle-home` | Sets the Gradle home directory. This can be used when auto-detection of the Gradle installation fails. |
| `--extra-gradle-arguments` | Adds extra arguments to the Gradle process. |

### Options When Creating a Package

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ This option controls the synchronization of managed dependencies. For more infor

A directory where Gradle is located on the computer that you use to deploy the application. The correct directory is usually located automatically.

#### Extra Arguments

This option can be used to add extra arguments to the Gradle process.

#### Use Custom Repositories

Enabling this option allows you to specify which repositories should be used by Gradle. For more information, see the [Custom Repositories](/refguide/managed-dependencies/#custom-repos) section in *Managed Dependencies*.
Expand Down