forked from expo/expo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.gradle
59 lines (51 loc) · 1.95 KB
/
settings.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
mavenLocal()
google()
}
}
include ':app'
apply from: new File(["node", "--print", "require.resolve('expo/package.json')"].execute(null, rootDir).text.trim(), "../scripts/autolinking.gradle")
apply from: new File(rootDir, "versioning_linking.gradle")
includeBuild('../react-native-lab/react-native/packages/react-native-gradle-plugin/')
include ':expoview'
include ':tools'
include ':packages:react-native:ReactAndroid'
project(':packages:react-native:ReactAndroid').projectDir = new File(rootDir, '../react-native-lab/react-native/packages/react-native/ReactAndroid')
dependencyResolutionManagement {
versionCatalogs {
defaultLibrariesExtensionName = "expoLibs"
libs {
from(files("../react-native-lab/react-native/packages/react-native/gradle/libs.versions.toml"))
}
}
}
include ':packages:react-native:ReactAndroid:hermes-engine'
project(':packages:react-native:ReactAndroid:hermes-engine').projectDir = new File(rootDir, '../react-native-lab/react-native/packages/react-native/ReactAndroid/hermes-engine')
include ':expo-modules-test-core'
project(':expo-modules-test-core').projectDir = new File(rootDir, '../packages/expo-modules-test-core/android')
// Include Expo modules that are not unimodules
include(":expo-random")
project(":expo-random").projectDir = new File("../packages/expo-random/android")
[
// ADD_NEW_SUPPORTED_ABIS_HERE
].forEach({ abiVariant ->
include ":expoview-$abiVariant"
project(":expoview-$abiVariant").projectDir = new File(rootDir, "versioned-abis/expoview-$abiVariant")
})
useExpoModules([
exclude : [
'expo-module-template',
'expo-module-template-local',
'react-native-reanimated',
'expo-dev-menu-interface',
'expo-dev-menu',
'expo-dev-launcher',
'expo-dev-client',
'expo-maps',
'expo-network-addons',
]
])
useVendoredModulesForSettingsGradle('unversioned')