-
Notifications
You must be signed in to change notification settings - Fork 9
/
settings.gradle.kts
67 lines (56 loc) · 1.67 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
62
63
64
65
66
67
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
// resolutionStrategy {
// eachPlugin {
// if (requested.id.id == "kotlinx-serialization") {
// useModule("org.jetbrains.kotlin:kotlin-serialization:${requested.version}")
// }
// }
// }
}
plugins {
id("com.gradle.enterprise") version "3.6"
//// # available:"3.6.1"
id("de.fayard.refreshVersions") version "0.10.0"
}
refreshVersions {
extraArtifactVersionKeyRules(file("dependencies-rules.txt"))
}
gradleEnterprise {
buildScan {
// publishAlwaysIf(true)
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
buildScanPublished {
file("buildscan.log").appendText("${java.util.Date()} - $buildScanUri\n")
}
}
}
rootProject.name = "voodoo-parent"
includeBuild("buildUtil")
include(":wrapper")
include(":voodoo")
include(":core")
include(":dsl")
include(":format", ":format:packager")
include(":multimc", ":multimc:installer")
include(":util", ":util:download", ":util:maven", ":util:jenkins")
include(":tome", ":pack", ":pack:tester")
include(":server-installer")
//include(":plugin")
fun prefixProject(project: ProjectDescriptor, prefix: String) {
project.name = prefix + "-" + project.name
logger.lifecycle("path of ${project.name} is ${project.path}")
project.children.forEach { child ->
prefixProject(child, project.name)
}
}
// TODO move into publishing
rootProject.children.forEach { child ->
child.children.forEach { grandchild ->
prefixProject(grandchild, child.name)
}
}