Change matching pattern on settings.gradle
Summary: Link doesn't work on f8app, as it is, android projects don't have to contain the matching string and then the linking would not work, I've switched it to the much simpler new-line. If you can find a better common minimum string for settings.gradle please do. Commit Msg: Current string, `include ':app'\n`, is not a minimum common string. Instead a simple `\n` will do. Closes https://github.com/facebook/react-native/pull/10172 Differential Revision: D4150313 fbshipit-source-id: 34470e1fb67194e41354b6085fb3eb90ddaa7ff8
This commit is contained in:
parent
ab55a8a146
commit
f0a58af37b
|
@ -18,7 +18,7 @@ module.exports = function makeSettingsPatch(name, androidConfig, projectConfig)
|
|||
}
|
||||
|
||||
return {
|
||||
pattern: 'include \':app\'\n',
|
||||
pattern: '\n',
|
||||
patch: `include ':${name}'\n` +
|
||||
`project(':${name}').projectDir = ` +
|
||||
`new File(rootProject.projectDir, '${projectDir}')\n`,
|
||||
|
|
Loading…
Reference in New Issue