-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
44 lines (40 loc) · 1.35 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
include ':app'
// WHEN_DISTRIBUTING_REMOVE_FROM_HERE
include ':expoview'
project(':expoview').projectDir = new File(rootDir, 'expoview')
include ':tools'
include ':ReactAndroid'
project(':ReactAndroid').projectDir = new File(rootDir, 'ReactAndroid')
include ':unimodules-test-core'
project(':unimodules-test-core').projectDir = new File(rootDir, '../packages/unimodules-test-core/android')
[
// ADD_NEW_SUPPORTED_ABIS_HERE
"abi38_0_0",
"abi37_0_0",
"abi36_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',
// FLAG_BEGIN_REMOVE__UPDATE_EXPOKIT - used during `et android-build-packages`
// section below previous line comment flag contains modules that need to be built for `expokit-npm-package`
'expo-bluetooth',
'expo-in-app-purchases',
'expo-updates',
'expo-splash-screen'
// FLAG_END_REMOVE__UPDATE_EXPOKIT
]
]
// WHEN_DISTRIBUTING_REMOVE_TO_HERE
)