-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.gradle.kts
41 lines (37 loc) · 1.38 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
@file:Suppress("UnstableApiUsage")
pluginManagement {
includeBuild("build-logic")
repositories {
// maven { url = uri("https://maven.aliyun.com/repository/public") }
// maven { url = uri("https://maven.aliyun.com/repository/google") }
// maven { url = uri("https://maven.aliyun.com/repository/gradle-plugin") }
google()
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
// maven { url = uri("https://maven.aliyun.com/repository/public") }
// maven { url = uri("https://maven.aliyun.com/repository/google") }
google()
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
// TYPESAFE_PROJECT_ACCESSORS, we can implement project likes:
// implementation(projects.core.resource)
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
apply(from = "$rootDir/gradle/expose/expose.gradle.kts")
val includeWithExpose: (projectPaths: String) -> Unit by extra
val includeWithJavaExpose: (projectPaths: String) -> Unit by extra
rootProject.name = "ModuleExpose"
include(":app")
include(":core:settings")
include(":core:resource")
include(":core:common")
includeWithExpose(":feature:settings")
includeWithExpose(":feature:search")
includeWithExpose(":feature:about")
includeWithExpose(":feature:benchmark")