forked from SpongePowered/Configurate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
44 lines (37 loc) · 1.07 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
pluginManagement {
repositories {
maven("https://repo.spongepowered.org/repository/maven-public/") {
name = "sponge"
mavenContent { releasesOnly() }
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
repositories {
maven("https://repo.spongepowered.org/repository/maven-public/") {
name = "sponge"
mavenContent { releasesOnly() }
}
}
}
}
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
private val prefix = "configurate"
rootProject.name = "$prefix-parent"
// core
listOf("core", "tool", "bom", "examples").forEach {
include(":$it")
// findProject(":$it")?.name = "$prefix-$it"
}
// formats
listOf("gson", "hocon", "jackson", "xml", "yaml").forEach {
include(":format:$it")
// findProject(":format:$it")?.name = "$prefix-$it"
}
// extras
listOf("kotlin", "guice", "dfu2", "dfu3", "dfu4").forEach {
include(":extra:$it")
findProject(":extra:$it")?.name = "extra-$it"
}