-
Notifications
You must be signed in to change notification settings - Fork 15
/
settings.gradle
62 lines (56 loc) · 1.48 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
pluginManagement {
repositories {
gradlePluginPortal()
maven {
name = 'Quilt'
url = 'https://maven.quiltmc.org/repository/release'
}
maven {
name = 'NeoForge'
url = 'https://maven.neoforged.net/releases'
}
maven {
name = 'Sponge'
url = 'https://repo.spongepowered.org/repository/maven-public'
}
// Currently needed for Intermediary and other temporary dependencies
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net'
}
}
}
plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
}
dependencyResolutionManagement {
versionCatalogs {
libs {
from(files("./Common/libs.versions.toml"))
}
quilt {
from(files("./Quilt/libs.versions.toml"))
}
neoforge {
from(files("./NeoForge/libs.versions.toml"))
}
fabric {
from(files("./Fabric/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
}
}
}
}
rootProject.name = 'Icarus'
include 'Common', 'NeoForge', 'Quilt', 'Fabric'