-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.gradle
55 lines (50 loc) · 1.1 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
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
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'
}
rootProject.name = 'Sparkweave'
include 'Common', 'Fabric', 'NeoForge'
dependencyResolutionManagement {
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
}
}
}
}