pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") } plugins { id("com.facebook.react.settings") } def npxCommand = System.getProperty("os.name").toLowerCase().contains("windows") ? "npx.cmd" : "npx" extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand([npxCommand, 'rock', 'config', '-p', 'android']) } rootProject.name = "MFExampleHost" include ':app' includeBuild('../node_modules/@react-native/gradle-plugin')