-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.gradle
103 lines (97 loc) · 2.61 KB
/
settings.gradle
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
pluginManagement {
repositories {
gradlePluginPortal()
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net'
}
maven {
name = 'NeoForge'
url = 'https://maven.neoforged.net/releases'
}
mavenCentral()
}
}
plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
id 'net.neoforged.moddev.repositories' version '2.0.34-beta'
}
rootProject.name = 'ExampleMod'
include 'Common', 'Fabric', 'NeoForge'
dependencyResolutionManagement {
repositories {
mavenCentral()
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net'
}
maven {
name = 'NeoForge'
url = 'https://maven.neoforged.net/releases'
}
maven {
name = "Sponge"
url = "https://repo.spongepowered.org/repository/maven-public"
content {
includeGroupAndSubgroups "org.spongepowered"
}
}
maven {
name = "ParchmentMC"
url = "https://maven.parchmentmc.org"
content {
includeGroupAndSubgroups "org.parchmentmc"
}
}
maven {
name = "Up-Mods"
url = "https://maven.uuid.gg/releases"
}
maven {
name = "TeamResourceful"
url = "https://maven.teamresourceful.com/repository/maven-releases"
}
maven {
name "TerraformersMC"
url "https://maven.terraformersmc.com/releases"
}
maven {
name "Modrinth"
url "https://api.modrinth.com/maven"
content {
includeGroup "maven.modrinth"
}
}
maven {
name = "CurseMaven"
url = "https://www.cursemaven.com"
content {
includeGroup "curse.maven"
}
}
}
versionCatalogs {
libs {
from(files("Common/libs.versions.toml"))
}
fabric {
from(files("Fabric/libs.versions.toml"))
}
neoforge {
from(files("NeoForge/libs.versions.toml"))
}
}
}
def ENV = System.getenv()
buildCache {
remote(HttpBuildCache) {
url = "https://ci-cache.uuid.gg/cache"
if (ENV.CI && ENV.GRADLE_BUILD_CACHE_USER && ENV.GRADLE_BUILD_CACHE_TOKEN) {
push = true
credentials {
username = ENV.GRADLE_BUILD_CACHE_USER
password = ENV.GRADLE_BUILD_CACHE_TOKEN
}
}
}
}