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

Allow users to configure Gradle build's current working directory #339

Open
dmikusa opened this issue Dec 2, 2024 · 0 comments
Open

Allow users to configure Gradle build's current working directory #339

dmikusa opened this issue Dec 2, 2024 · 0 comments
Labels
type:enhancement A general enhancement

Comments

@dmikusa
Copy link
Contributor

dmikusa commented Dec 2, 2024

Describe the Enhancement

Presently, Gradle will build from the app root (i.e. /workspace). This isn't configurable. We should expose an env variable that makes this configurable, like BP_GRADLE_BUILD_WORKING_DIR. The user can then control the location from with gradle will be run.

We'll need to be careful that build commands are being run with full paths and that no relative paths are being used, otherwise, this might break some things.

Blocked by paketo-buildpacks/libbs#288

Motivation

Make the buildpack more configurable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant