-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle
More file actions
46 lines (45 loc) · 1.38 KB
/
Copy pathsettings.gradle
File metadata and controls
46 lines (45 loc) · 1.38 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
pluginManagement {
repositories {
maven {
url = uri("../FabricModdingConventions/build/local-repo")
}
ivy {
name = "FabricModdingConventionsGitHubReleases"
url = uri("https://github.com/brainage04/FabricModdingConventions/releases/download")
patternLayout {
artifact "v[revision]/[artifact]-[revision].[ext]"
}
metadataSources {
gradleMetadata()
artifact()
}
content {
includeGroup "io.github.brainage04"
}
}
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
mavenCentral()
gradlePluginPortal()
}
resolutionStrategy {
eachPlugin {
def moduleName = [
"io.github.brainage04.fabric-mod-conventions" : "fabric-mod-conventions-gradle",
"io.github.brainage04.client-gametest-recorder" : "client-gametest-recorder-gradle",
"io.github.brainage04.production-gametests" : "production-gametests-gradle",
"io.github.brainage04.workspace-dependencies" : "workspace-dependencies-gradle",
"io.github.brainage04.maven-central-publishing" : "maven-central-publishing-gradle",
"io.github.brainage04.mod-publishing" : "mod-publishing-gradle",
][requested.id.id]
if (moduleName != null) {
useModule("io.github.brainage04:${moduleName}:${requested.version}")
}
}
}
}
if (file("../FabricModdingConventions/settings.gradle").exists()) {
includeBuild("../FabricModdingConventions")
}