Skip to content
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

Support new env. variable BP_GRADLE_ADDITIONAL_BUILD_ARGUMENTS #238

Merged
merged 1 commit into from
May 2, 2023

Conversation

anthonydahanne
Copy link
Member

  • append its arguments after the BP_GRADLE_BUILD_ARGUMENTS

Use Cases

pack build -e BP_GRADLE_ADDITIONAL_BUILD_ARGUMENTS=--no-build-cache -p ~/workspaces/paketo-buildpacks/samples/java/gradle/ hello -b paketo-buildpacks/syft \
-b paketo-buildpacks/bellsoft-liberica \
-b . \
-b paketo-buildpacks/executable-jar \
 --builder paketobuildpacks/builder:base --verbose --clear-cache

[...]
  Compiled Application: Contributing to layer
    Executing gradlew --no-daemon assemble --no-build-cache
[...]


Checklist

  • I have viewed, signed, and submitted the Contributor License Agreement.
  • I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
  • I have added an integration test, if necessary.
  • I have reviewed the styleguide for guidance on my code quality.
  • I'm happy with the commit history on this PR (I have rebased/squashed as needed).

* append its arguments after the BP_GRADLE_BUILD_ARGUMENTS
@anthonydahanne anthonydahanne requested a review from a team as a code owner May 2, 2023 15:05
@anthonydahanne anthonydahanne added semver:minor A change requiring a minor version bump type:enhancement A general enhancement labels May 2, 2023
@anthonydahanne anthonydahanne mentioned this pull request May 2, 2023
5 tasks
@dmikusa
Copy link
Contributor

dmikusa commented May 2, 2023

Thanks!

@dmikusa dmikusa merged commit afc01cc into main May 2, 2023
@dmikusa dmikusa deleted the gradle-addtl-args branch May 2, 2023 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:minor A change requiring a minor version bump type:enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants