-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
57 lines (46 loc) · 1.58 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
pluginManagement {
repositories {
mavenCentral()
maven {
url 'https://maven.services.pocolifo.com/releases'
}
maven {
url 'https://maven.fabricmc.net'
}
// MinecraftGradle @ https://gitlab.pocolifo.com/pocolifo/client/minecraftgradle
maven {
name 'gitlab-mcg'
url 'https://gitlab.pocolifo.com/api/v4/projects/6/packages/maven'
credentials(HttpHeaderCredentials) {
if (System.getenv("CI_JOB_TOKEN") == null) {
name = 'Private-Token'
value = gitLabPrivateToken
} else {
name = 'Job-Token'
value = System.getenv("CI_JOB_TOKEN")
}
}
authentication {
header(HttpHeaderAuthentication)
}
}
// Pocolifo Obfuscator @ https://gitlab.pocolifo.com/pocolifo/client/obfuscator
maven {
name 'gitlab-obf'
url 'https://gitlab.pocolifo.com/api/v4/projects/21/packages/maven'
credentials(HttpHeaderCredentials) {
if (System.getenv("CI_JOB_TOKEN") == null) {
name = 'Private-Token'
value = gitLabPrivateToken
} else {
name = 'Job-Token'
value = System.getenv("CI_JOB_TOKEN")
}
}
authentication {
header(HttpHeaderAuthentication)
}
}
}
}
rootProject.name = 'pocolifoclient'