-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
45 lines (37 loc) · 1.29 KB
/
settings.gradle.kts
File metadata and controls
45 lines (37 loc) · 1.29 KB
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
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
dependencyResolutionManagement {
rulesMode = RulesMode.FAIL_ON_PROJECT_RULES
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
repositories {
mavenCentral()
maven("https://repo.opencollab.dev/main")
maven("https://repo.papermc.io/repository/maven-public")
maven("https://oss.sonatype.org/content/repositories/snapshots") {
mavenContent {
snapshotsOnly()
}
}
}
}
pluginManagement {
includeBuild("build-logic")
repositories {
gradlePluginPortal()
maven("https://maven.fabricmc.net")
maven("https://maven.neoforged.net/releases")
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
/* Loom and ModDevGradle get applied here, because
otherwise they will fail to add repositories properly. */
id("fabric-loom") version "1.15-SNAPSHOT" // https://github.com/FabricMC/fabric-loom
id("net.neoforged.moddev.repositories") version "2.0.140" // https://projects.neoforged.net/neoforged/ModDevGradle
}
rootProject.name = "plugin-template"
include(":core")
file("bootstrap").listFiles()?.forEach { file ->
if (file.isDirectory) {
include(":bootstrap:${file.name}")
}
}