-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
settings.gradle.kts
35 lines (30 loc) · 897 Bytes
/
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
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
maven("https://repo.spongepowered.org/repository/maven-public/")
maven("https://maven.fabricmc.net/")
maven("https://maven.neoforged.net/releases/")
maven("https://maven.architectury.dev/")
maven("https://repo.jpenilla.xyz/snapshots/")
}
includeBuild("build-logic")
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
rootProject.name = "squaremap"
setupSubproject("api")
setupSubproject("common")
setupSubproject("paper")
include(":squaremap-paper:folia")
setupSubproject("fabric")
setupSubproject("neoforge")
setupSubproject("sponge")
fun setupSubproject(moduleName: String) {
val name = "squaremap-$moduleName"
include(name)
val proj = project(":$name")
proj.projectDir = file(moduleName)
}