-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
40 lines (35 loc) · 1.09 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
include ':app'
// WHEN_DISTRIBUTING_REMOVE_FROM_HERE
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
"abi42_0_0",
"abi41_0_0",
"abi40_0_0",
"abi39_0_0",
].forEach({ abiVariant ->
include ":expoview-$abiVariant"
project(":expoview-$abiVariant").projectDir = new File(rootDir, "versioned-abis/expoview-$abiVariant")
})
// WHEN_DISTRIBUTING_REMOVE_TO_HERE
// Import gradle helpers for unimodules.
apply from: '../node_modules/react-native-unimodules/gradle.groovy'
// Include unimodules.
includeUnimodulesProjects(
// WHEN_DISTRIBUTING_REMOVE_FROM_HERE
[
modulesPaths: ['../../packages'],
target : 'react-native',
exclude : [
'expo-module-template',
]
]
// WHEN_DISTRIBUTING_REMOVE_TO_HERE
)