Closed alexborton closed 11 months ago
Noob question, but why did you specifically chose v0.71.12 to upgrade to ? Why not upgrade to the latest one v0.72.3 ? I was researching about upgrading my app and was curious about the thought behind upgrading to a specific version and not the most recent one. Thanks!
How you actually did your upgrade? Did you use any tool or manually implemented all changes mentioned inside (https://react-native-community.github.io/upgrade-helper/) ??
Resolved this issue; human error. I was following the diff manually and missed this line (that was actually removed)
def enableHermes = project.ext.react.get("enableHermes", false);
I wanted to step through the major (technically minor) releases rather than going for the Hail Mary. In the end, we did go all the way to 72.x
Environment
Things I’ve done to figure out my issue
switching the offending line to a boolean gets me onto the next instance of said line;
def enableHermes = project.ext.react.get("enableHermes", false);
->def enableHermes = true;
Upgrading version
0.71.12
Description
Gradle fails on the following line;
def enableHermes = project.ext.react.get("enableHermes", false);
citing the following;
I am upgrading from RN 0.70.6 and have some Kotlin setup in my gradle, too that might be noteworthy;
By changing the line to;
def enableHermes = true;
the same error throws for the original line, deep in the Sentry node_modles package