-
-
Notifications
You must be signed in to change notification settings - Fork 955
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
136 lines (125 loc) · 4.28 KB
/
Copy pathsettings.gradle.kts
File metadata and controls
136 lines (125 loc) · 4.28 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
import java.net.URI
pluginManagement {
// pluginManagement repositories resolve plugins before the repo-reconfiguration plugin can
// apply, so they must point at EngineHub mirrors directly rather than upstream URLs.
repositories {
maven {
name = "EngineHub"
url = uri("https://repo.enginehub.org/libs-release/")
mavenContent {
releasesOnly()
includeGroupAndSubgroups("com.sk89q")
includeGroupAndSubgroups("org.enginehub")
}
}
maven {
name = "EngineHub FabricMC Mirror"
url = uri("https://repo.enginehub.org/internal/fabricmc/")
mavenContent {
releasesOnly()
includeGroupAndSubgroups("fabric-loom")
includeGroupAndSubgroups("net.fabricmc")
excludeModule("net.fabricmc", "yarn")
}
}
maven {
name = "EngineHub SpongePowered Mirror"
url = uri("https://repo.enginehub.org/internal/spongepowered-releases/")
mavenContent {
releasesOnly()
includeGroupAndSubgroups("org.spongepowered")
}
}
maven {
name = "EngineHub NeoForged Mirror"
url = uri("https://repo.enginehub.org/internal/neoforged/")
mavenContent {
releasesOnly()
includeGroupAndSubgroups("net.minecraftforge")
includeGroupAndSubgroups("net.neoforged")
}
}
maven {
name = "EngineHub MinecraftForge Mirror"
url = uri("https://repo.enginehub.org/internal/forge/")
mavenContent {
releasesOnly()
includeGroupAndSubgroups("net.minecraftforge")
}
}
maven {
name = "EngineHub Maven Central Mirror"
url = uri("https://repo.enginehub.org/internal/maven-central-proxy/")
mavenContent {
releasesOnly()
}
}
maven {
name = "EngineHub Gradle Plugin Portal Mirror"
url = uri("https://repo.enginehub.org/internal/plugin-portal-proxy/")
mavenContent {
releasesOnly()
}
}
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
id("org.enginehub.crankcase.repo-reconfiguration") version "0.1.0"
}
dependencyResolutionManagement {
repositories {
maven {
name = "PaperMC"
url = uri("https://repo.papermc.io/repository/maven-public/")
}
maven {
name = "EngineHub (Non-Mirrored)"
url = URI.create("https://repo.enginehub.org/libs-release/")
}
ivy {
url = uri("https://repo.enginehub.org/language-files/")
name = "EngineHub Language Files"
patternLayout {
artifact("[organisation]/[module]/[revision]/[artifact]-[revision](+[classifier])(.[ext])")
setM2compatible(true)
}
metadataSources {
artifact()
}
content {
includeModuleByRegex(".*", "worldedit-lang")
}
}
mavenCentral()
maven {
name = "Minecraft Libraries"
url = uri("https://libraries.minecraft.net/")
}
}
}
logger.lifecycle("""
*******************************************
You are building WorldEdit!
If you encounter trouble:
1) Read COMPILING.md if you haven't yet
2) Try running 'build' in a separate Gradle run
3) Use gradlew and not gradle
4) If you still need help, ask on Discord! https://discord.gg/enginehub
Output files will be in [subproject]/build/libs
*******************************************
""")
rootProject.name = "worldedit"
includeBuild("build-logic")
include("worldedit-libs")
listOf("1.21.4", "1.21.5", "1.21.6", "1.21.9", "1.21.11", "26.1", "26.2").forEach {
include("worldedit-bukkit:adapters:adapter-$it")
}
listOf("bukkit", "core", "core-mc", "fabric", "neoforge", "sponge", "cli").forEach {
include("worldedit-libs:$it")
include("worldedit-$it")
}
include("worldedit-mod")
include("worldedit-libs:core:ap")
include("worldedit-core:doctools")
include("verification")