generated from Up-Mods/multiloader-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
51 lines (45 loc) · 1.21 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
pluginManagement {
repositories {
gradlePluginPortal()
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.9.0'
}
dependencyResolutionManagement {
versionCatalogs {
libs {
from(files("./Common/libs.versions.toml"))
}
forge {
from(files("./Forge/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 = 'Icarae-Origin'
include 'Common', 'Fabric', 'Forge'