Repository navigation
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
59 lines (55 loc) · 2.07 KB
/
Copy pathsettings.gradle.kts
File metadata and controls
59 lines (55 loc) · 2.07 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
rootProject.name = "machineengine"
pluginManagement {
repositories {
gradlePluginPortal()
maven("https://repo.papermc.io/repository/maven-public/")
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
}
dependencyResolutionManagement {
// Modules use these repositories, except the nms:v* ones: paperweight userdev adds its own
// (dev bundle, mappings, remapper, decompiler), which replace these there.
repositoriesMode = RepositoriesMode.PREFER_PROJECT
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://repo.momirealms.net/snapshots/") {
mavenContent { snapshotsOnly() }
}
maven("https://repo.groupez.dev/releases") {
mavenContent { includeGroup("fr.maxlego08.menu") }
}
maven("https://repo.momirealms.net/releases/") {
mavenContent { releasesOnly() }
}
// Released MachineEngine modules, for :api:japicmp (ARCHITECTURE §5). Only this repository serves them.
exclusiveContent {
forRepository { maven("https://1robie.github.io/maven/") }
filter { includeGroup("com.github.1robie.MachineEngine") }
}
// JitPack (D35): Paper-Dispatch and MessageFlow, each in its own com.github.1robie.<repo> group.
maven("https://jitpack.io") {
mavenContent { includeGroupByRegex("""com\.github\.1robie\..+""") }
}
// FoliaLib (D35).
maven("https://repo.tcoded.com/releases") {
mavenContent { includeGroup("com.tcoded") }
}
}
}
// Modules of the restructure (ARCHITECTURE.md D24) have short paths; their jars keep the
// machineengine- prefix. The others move in RESTRUCTURE_PLAN.md R3-R7.
include(
"api",
"common",
"test",
// One module per optional third-party plugin (D24).
"hooks:zmenu",
// Version differences (D25): interfaces, then one userdev module per Minecraft version.
"nms:common",
"nms:v1_20_6",
"nms:v26_3",
"plugin",
)