-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
settings.gradle.kts
53 lines (44 loc) · 1.28 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
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
dependencyResolutionManagement {
repositories {
mavenCentral()
maven("https://repo.kryptonmc.org/releases")
maven("https://oss.sonatype.org/content/groups/public/")
maven("https://repo.kryptonmc.org/snapshots")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
maven("https://jitpack.io")
}
versionCatalogs {
create("global") {
from(files("gradle/global.versions.toml"))
}
}
}
pluginManagement {
includeBuild("build-logic")
repositories {
maven("https://repo.spongepowered.org/repository/maven-public/")
gradlePluginPortal()
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.4.0"
}
rootProject.name = "krypton"
include("api")
include("server")
include("generators")
include("annotation-processor")
include("jar")
internalProject("annotations")
internalProject("ap")
pluginProject("bans")
pluginProject("whitelist")
fun internalProject(name: String) {
include("internal-$name")
project(":internal-$name").projectDir = file("internal/$name")
}
fun pluginProject(name: String) {
include("$name-plugin")
project(":$name-plugin").projectDir = file("plugins/$name")
}