-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·64 lines (48 loc) · 1.03 KB
/
build.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
plugins {
id 'com.unascribed.nilgradle' version '1.4.0'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
sourceCompatibility = 8
targetCompatibility = 8
compileJava.options.encoding = 'UTF-8'
group = 'cc.unilock'
archivesBaseName = 'Nilcord'
version = '2.1.0'
repositories {
mavenLocal()
maven {
url 'https://repo.sleeping.town'
content {
includeGroup 'com.unascribed'
}
}
mavenCentral()
}
nil {
id "nilcord"
standalone false
}
configurations {
shade
}
dependencies {
loader 'com.unascribed:nilloader:1.3.3'
game nil.minecraft('1.4.7', 'client')
implementation shade('net.dv8tion:JDA:5.0.0-beta.20') {
exclude module: 'opus-java'
}
implementation shade('folk.sisby:kaleido-config:0.2.0+1.2.0-beta.5')
}
mappings {
work 'com.unascribed:unknownthingy:1.20@tsrg'
}
jar {
archiveClassifier = 'slim'
}
shadowJar {
archiveClassifier = ''
configurations = [project.configurations.shade]
//relocate 'org.quiltmc.config', 'folk.sisby.kaleido.lib.quiltconfig'
minimize()
}
tasks.build.dependsOn tasks.shadowJar