-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsettings.gradle.kts
40 lines (36 loc) · 1.04 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
@file:Suppress("UnstableApiUsage")
dependencyResolutionManagement {
// repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
maven("https://repo.anvilpowered.org/repository/maven-public/")
mavenCentral()
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
maven("https://libraries.minecraft.net")
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://repo.spongepowered.org/repository/maven-public/")
}
}
pluginManagement {
includeBuild("build-logic")
repositories {
mavenCentral()
gradlePluginPortal()
}
}
rootProject.name = "anvil"
sequenceOf(
"app-plugin",
"app-plugin-core",
"app-plugin-paper",
"app-plugin-sponge",
"app-plugin-velocity",
"core",
"paper",
"sponge",
"velocity",
).forEach {
val project = ":anvil-$it"
include(project)
project(project).projectDir = file(it.replace('-', '/'))
}