forked from lukebemishprojects/ExcavatedVariants
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
84 lines (74 loc) · 2.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
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
pluginManagement {
repositories {
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
maven {
name = 'Quilt (Release)'
url = 'https://maven.quiltmc.org/repository/release'
}
maven {
name = 'NeoForged'
url = 'https://maven.neoforged.net/'
}
maven {
name = "Luke's Maven"
url = 'https://maven.lukebemish.dev/releases'
}
maven {
name = 'ParchmentMC'
url = 'https://maven.parchmentmc.org'
}
maven {
name = 'Architectury'
url "https://maven.architectury.dev/"
}
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id 'com.gradle.enterprise' version '3.16.1'
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0'
}
gradleEnterprise {
if (System.getenv('CI') != null) {
buildScan {
publishAlways()
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}
}
buildCache {
if (providers.gradleProperty('buildCacheUrl').orNull) {
remote(HttpBuildCache) {
url = providers.gradleProperty('buildCacheUrl').orNull
credentials {
username = providers.gradleProperty('buildCacheUser').orNull
password = providers.gradleProperty('buildCachePassword').orNull
}
if (providers.gradleProperty('buildCachePush').orNull) {
push = true
} else {
push = false
}
}
} else if (System.getenv('BUILD_CACHE_URL')) {
remote(HttpBuildCache) {
url = System.getenv('BUILD_CACHE_URL')
credentials {
username = System.getenv('BUILD_CACHE_USER')
password = System.getenv('BUILD_CACHE_PASSWORD')
}
if (System.getenv('BUILD_CACHE_PUSH') || System.getenv('CI')) {
push = true
} else {
push = false
}
}
}
}
rootProject.name = 'excavatedvariants'
include("common", "neoforge", "fabriquilt")