-
-
Notifications
You must be signed in to change notification settings - Fork 211
/
settings.gradle.kts
54 lines (46 loc) · 1.54 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
pluginManagement {
repositories {
// mavenLocal()
gradlePluginPortal()
}
includeBuild("gradle/build-logic")
includeBuild("gradle/build-logic-conventions")
}
dependencyResolutionManagement {
// kotlinNodeJsSetup configures ivy repository 'Node Distributions at https://nodejs.org/dist'
// repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
google()
}
}
plugins {
if (System.getenv("CI").toBoolean()) {
id("org.gradle.toolchains.foojay-resolver-convention") version ("0.8.0")
}
}
rootProject.name = "atrium"
listOf("fluent", "infix").forEach { apiName ->
include("bundles/$apiName", "atrium-$apiName")
include("bundles/$apiName/smoke-tests", "atrium-$apiName-smoke-test")
include("apis/$apiName", "atrium-api-$apiName")
}
include("", "atrium-core")
include("logic", "atrium-logic")
listOf("en_GB").forEach { lang ->
include("translations", "atrium-translations-$lang")
}
include("misc", "atrium-specs")
include("misc", "atrium-test-factory")
include("misc", "atrium-verbs")
include("misc", "atrium-verbs-internal")
include("misc", "js-stubs")
include("misc/tools", "readme-examples")
fun Settings_gradle.include(subPath: String, projectName: String) {
val dir = file("${rootProject.projectDir}/$subPath/$projectName")
if (!dir.exists()) {
throw GradleException("cannot include project $projectName as its projectDir $dir does not exist")
}
include(projectName)
project(":$projectName").projectDir = dir
}