Closed OlivierFreyssinet-old closed 3 years ago
It is possible for gradle to specify exact path. You could refer from hermes setup
Going to close this issue as there are no further responses. Please feel free to reopen or open new one if there are any other problems.
Is it possible to configure gradle so that it takes a different v8 variant depending on the app's buildType ?
I would like to use
v8-nointl
in production butv8-jit-nointl
in debugging to avoid impacting the battery too much in prod but at the same time have the best development experience with blazing fast reloads thanks to JIT compilation.If it was configured in app/build.gradle then I would do something like this:
The
buildType
is defined inapp/build.gradle
so I guess it's impossible to do it like this in the project'sbuild.gradle
, but is there a way to get to the same end result ? Maybe by using an environment variable ?