-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsettings.gradle.kts
61 lines (53 loc) · 2.21 KB
/
settings.gradle.kts
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
import groovy.lang.Closure
pluginManagement {
includeBuild("build-logic")
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
// project name include
rootProject.name = "SuperAppStructure"
include(":app")
include(":core_navigation")
include(":core_data")
include(":core_network")
include(":core_model")
//include(":core_datastore")
//include(":datastore_proto")
include(":core_common")
include(":core_database")
include(":core_ui")
include(":core_splitInstall")
include(":feature_movie_list")
include(":feature_movie_detail")
//include(":feature_person")
// project location
project(":core_navigation").projectDir = File(rootDir, "core/core_navigation")
project(":core_data").projectDir = File(rootDir, "core/core_data")
project(":core_network").projectDir = File(rootDir, "core/core_network")
project(":core_model").projectDir = File(rootDir, "core/core_model")
//project(":core_datastore").projectDir = File(rootDir, "core/core_datastore")
//project(":datastore_proto").projectDir = File(rootDir, "core/datastore_proto")
project(":core_common").projectDir = File(rootDir, "core/core_common")
project(":core_database").projectDir = File(rootDir, "core/core_database")
project(":core_ui").projectDir = File(rootDir, "core/core_ui")
project(":core_splitInstall").projectDir = File(rootDir, "core/core_splitInstall")
project(":feature_movie_list").projectDir = File(rootDir, "feature/feature_movie_list")
project(":feature_movie_detail").projectDir = File(rootDir, "feature/feature_movie_detail")
//project(":feature_person").projectDir = File(rootDir, "feature/feature_person")
include(":feature_react")
project(":feature_react").projectDir = File(rootDir, "feature/feature_react")
/// react native config
includeBuild("$rootDir/baka3k-react-native/node_modules/@react-native/gradle-plugin")
apply(from = "$rootDir/baka3k-react-native/node_modules/@react-native-community/cli-platform-android/native_modules.gradle")
val applyNativeModules: Closure<Any> = extra.get("applyNativeModulesSettingsGradle") as Closure<Any>
applyNativeModules(settings)