-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
61 lines (53 loc) · 1.75 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
apply from: "GradleCommon/common.gradle"
configurations {
slf4j {
transitive = false
}
}
dependencies {
api project(":AuraSudo-bungeecord")
api project(":AuraSudo-velocity")
api project(":AuraSudo-nukkit")
api project(":AuraSudo-spigot")
api project(":AuraSudo-sponge")
shadow(project(":AuraSudo-api")) {
transitive = false
}
shadow(project(":AuraSudo-common")) {
transitive = false
}
shadow(project(":AuraSudo-bungeecord")) {
transitive = false
}
shadow(project(":AuraSudo-velocity")) {
transitive = false
}
shadow(project(":AuraSudo-nukkit")) {
transitive = false
}
shadow(project(":AuraSudo-spigot")) {
transitive = false
}
shadow(project(":AuraSudo-sponge")) {
transitive = false
}
// SLF4J files
slf4j "org.slf4j:slf4j-api:${project(":AuraSudo-common").slf4j_version}"
slf4j "team.aura_dev.lib.slf4j-plugin.bungeecord:slf4j-plugin-bungeecord:${project(":AuraSudo-common").slf4jPlugin_version}:${project(":AuraSudo-common").slf4j_version}"
slf4j "team.aura_dev.lib.slf4j-plugin.nukkit:slf4j-plugin-nukkit:${project(":AuraSudo-common").slf4jPlugin_version}:${project(":AuraSudo-common").slf4j_version}"
slf4j "team.aura_dev.lib.slf4j-plugin.spigot:slf4j-plugin-spigot:${project(":AuraSudo-common").slf4jPlugin_version}:${project(":AuraSudo-common").slf4j_version}"
}
shadowJar {
relocate("${rootProject.baseGroup}.lib", "${rootProject.group}.lib")
relocate("licenses", "${rootProject.group}.shadow.licenses")
exclude "org/slf4j/*"
from(project.configurations.slf4j.files) {
into "org/slf4j"
rename '(.*).jar', '$1.zip'
}
}
delombok {
onlyIf {
false
}
}