Skip to content

Add --build-args flag for passing extra arguments to build tools#60

Merged
avelino merged 2 commits intomainfrom
avelino/issue-59
Feb 24, 2026
Merged

Add --build-args flag for passing extra arguments to build tools#60
avelino merged 2 commits intomainfrom
avelino/issue-59

Conversation

@avelino
Copy link
Owner

@avelino avelino commented Feb 24, 2026

Users couldn't pass custom flags (like Gradle -P properties) to the underlying build tool, forcing workarounds outside jbundle.

Added a generic build_args field that flows through the entire pipeline (CLI -> config merge -> BuildConfig -> build functions) and gets appended to every build system's command. Works via --build-args CLI flag or build_args array in jbundle.toml, following the same pattern as jvm_args.

fixed: #59

Users couldn't pass custom flags __(like Gradle `-P` properties)__ to the
underlying build tool, forcing workarounds outside jbundle.

Added a generic build_args field that flows through the entire pipeline
(CLI -> config merge -> BuildConfig -> build functions) and gets appended
to every build system's command. Works via `--build-args` CLI flag or
build_args array in `jbundle.toml`, following the same pattern as jvm_args.

fixed: #59

Signed-off-by: Avelino <31996+avelino@users.noreply.github.com>
Signed-off-by: Avelino <31996+avelino@users.noreply.github.com>
@avelino avelino merged commit 3e7c8a0 into main Feb 24, 2026
11 checks passed
@avelino avelino deleted the avelino/issue-59 branch February 24, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to add additional parameters for gradle

1 participant