When running a gradle task from Fastlane, if the Fastfile is defined project-wide and not in the Android / iOS respective folders, gradle fails because the relative appPath I'm providing to linkColocatedNativeFiles is relative to the system property user.dir as in lines 17-18.
Unfortunately neither the rootDir Gradle property can be used as it would be appended to System.getProperty('user.dir') path.
When running a gradle task from Fastlane, if the Fastfile is defined project-wide and not in the Android / iOS respective folders, gradle fails because the relative appPath I'm providing to
linkColocatedNativeFilesis relative to the system propertyuser.diras in lines 17-18.Unfortunately neither the
rootDirGradle property can be used as it would be appended toSystem.getProperty('user.dir')path.