this repo has no description
1pluginManagement {
2 def reactNativeGradlePlugin = new File(
3 providers.exec {
4 workingDir(rootDir)
5 commandLine("node", "--print", "require.resolve('@react-native/gradle-plugin/package.json', { paths: [require.resolve('react-native/package.json')] })")
6 }.standardOutput.asText.get().trim()
7 ).getParentFile().absolutePath
8 includeBuild(reactNativeGradlePlugin)
9
10 def expoPluginsPath = new File(
11 providers.exec {
12 workingDir(rootDir)
13 commandLine("node", "--print", "require.resolve('expo-modules-autolinking/package.json', { paths: [require.resolve('expo/package.json')] })")
14 }.standardOutput.asText.get().trim(),
15 "../android/expo-gradle-plugin"
16 ).absolutePath
17 includeBuild(expoPluginsPath)
18}
19
20plugins {
21 id("com.facebook.react.settings")
22 id("expo-autolinking-settings")
23}
24
25extensions.configure(com.facebook.react.ReactSettingsExtension) { ex ->
26 if (System.getenv('EXPO_USE_COMMUNITY_AUTOLINKING') == '1') {
27 ex.autolinkLibrariesFromCommand()
28 } else {
29 ex.autolinkLibrariesFromCommand(expoAutolinking.rnConfigCommand)
30 }
31}
32expoAutolinking.useExpoModules()
33
34rootProject.name = 'expo-atproto-auth-example'
35
36expoAutolinking.useExpoVersionCatalog()
37
38include ':app'
39includeBuild(expoAutolinking.reactNativeGradlePlugin)