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

Any way to use GRADLE_OPTS env var #118

Open
katyo opened this issue Jan 21, 2023 · 0 comments
Open

Any way to use GRADLE_OPTS env var #118

katyo opened this issue Jan 21, 2023 · 0 comments

Comments

@katyo
Copy link

katyo commented Jan 21, 2023

Is there a way to passthrough environment variable GRADLE_OPTS from shell?

Despite I set it like so:

export GRADLE_OPTS=$GRADLE_OPTS -Dorg.gradle.project.android.aapt2FromMavenOverride=/nix/store/ph0zds5iwn62jikimaqw5bd9mgyk4gvi-androidsdk/libexec/android-sdk/build-tools/30.0.2/aapt2

(see https://nixos.org/manual/nixpkgs/unstable/#notes-on-environment-variables-in-android-projects)

Unfortunattely in gradlew this env var still keeps empty.

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

No branches or pull requests

1 participant