https://kotlinlang.org logo
#android-studio
Title
# android-studio
r

reactormonk

10/09/2023, 12:49 PM
How can I set an env variable for a build? Running the build in a shell via
SHELL=/bin/bash ./gradlew build
works fine, but building inside of android studio fails because I'm using a non-bash shell. I'm building an external program via cmake, and I can't figure out how to insert env variables before cmake, because the cmake invocation fails.