/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
shared/android/settings.gradle
38 строк
1 KB
chrisnojima
6.6.0 mergedown (#28393)
14 авг 2025, 18:46
Не верифицирован
14 авг 2025, 18:46
4c036e5
Код
Авторство
О чём код?
pluginManagement { def reactNativeGradlePlugin = new File( providers.exec { workingDir(rootDir) commandLine("node", "--print", "require.resolve('@react-native/gradle-plugin/package.json', { paths: [require.resolve('react-native/package.json')] })") }.standardOutput.asText.get().trim() ).getParentFile().absolutePath includeBuild(reactNativeGradlePlugin) def expoPluginsPath = new File( providers.exec { workingDir(rootDir) commandLine("node", "--print", "require.resolve('expo-modules-autolinking/package.json', { paths: [require.resolve('expo/package.json')] })") }.standardOutput.asText.get().trim(), "../android/expo-gradle-plugin" ).absolutePath includeBuild(expoPluginsPath) } plugins { id("com.facebook.react.settings") id("expo-autolinking-settings") } extensions.configure(com.facebook.react.ReactSettingsExtension) { ex -> if (System.getenv('EXPO_USE_COMMUNITY_AUTOLINKING') == '1') { ex.autolinkLibrariesFromCommand() } else { ex.autolinkLibrariesFromCommand(expoAutolinking.rnConfigCommand) } } expoAutolinking.useExpoModules() rootProject.name = 'Keybase' expoAutolinking.useExpoVersionCatalog() include ':app', ':keybaselib' includeBuild(expoAutolinking.reactNativeGradlePlugin)