forked from expo/expo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
71 lines (61 loc) · 1.91 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
60
61
62
63
64
65
66
67
68
69
70
71
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")
/* UNCOMMENT WHEN DISTRIBUTING
useExpoModules([
exclude: [
'expo-module-template',
'expo-in-app-purchases',
'react-native-reanimated',
'expo-dev-menu-interface',
'expo-dev-menu',
'expo-dev-launcher',
'expo-dev-client'
],
searchPaths: [
'enabled-modules'
],
useAAR: true
])
include ':expo'
project(':expo').projectDir = new File('../packages/expo/android')
END UNCOMMENT WHEN DISTRIBUTING */
// WHEN_DISTRIBUTING_REMOVE_FROM_HERE
include ':packages:react-native-codegen:android'
project(':packages:react-native-codegen:android').projectDir = new File('../react-native-lab/react-native/packages/react-native-codegen/android')
includeBuild('../react-native-lab/react-native/packages/react-native-codegen/android')
include ':expoview'
include ':tools'
include ':ReactAndroid'
include ':unimodules-test-core'
project(':unimodules-test-core').projectDir = new File(rootDir, '../packages/unimodules-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
"abi44_0_0",
"abi43_0_0",
"abi42_0_0",
].forEach({ abiVariant ->
include ":expoview-$abiVariant"
project(":expoview-$abiVariant").projectDir = new File(rootDir, "versioned-abis/expoview-$abiVariant")
})
useExpoModules([
exclude : [
'expo-module-template',
'react-native-reanimated',
'expo-dev-menu-interface',
'expo-dev-menu',
'expo-dev-launcher',
'expo-dev-client'
]
])
// WHEN_DISTRIBUTING_REMOVE_TO_HERE