-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
52 lines (44 loc) · 1.42 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
rootProject.name = "solvo"
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
google()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven("https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental")
maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/bootstrap")
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == "kotlinx-atomicfu") {
useModule("org.jetbrains.kotlinx:atomicfu-gradle-plugin:${requested.version}")
}
}
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version ("0.4.0")
}
fun includeProject(projectPath: String, dir: String? = null) {
include(projectPath)
if (dir != null) project(projectPath).projectDir = file(dir)
}
// SHARED
includeProject(":model")
// BACKEND
includeProject(":server")
// WEB COMMON
includeProject(":web:web-common")
includeProject(":web:web-editor")
includeProject(":web:web-course-menu")
includeProject(":web:web-comments")
includeProject(":web:web-paging")
includeProject(":web:web-comment-column")
includeProject(":web:web-settings")
// WEB PAGES
includeProject(":web:web-pages-auth")
includeProject(":web:web-pages-question")
includeProject(":web:web-pages-home")
includeProject(":web:web-pages-user")
includeProject(":web:web-pages-settings-admin")
includeProject(":web:web-pages-article-settings")