forked from Eufranio/MagiBridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
48 lines (43 loc) · 1.68 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
plugins {
id 'org.spongepowered.plugin' version '0.8.1'
id 'com.github.johnrengelman.shadow' version '2.0.4'
id 'java'
id 'application'
}
group = 'com.magitechserver.magibridge'
version = '2.5' + ((System.getenv("BUILD_NUMBER") != null || System.getProperty("BUILD_NUMBER") != null) ? ("-b" + (System.getenv("BUILD_NUMBER") ?: System.getProperty("BUILD_NUMBER"))) : "")
description = 'A utility Discord <-> Minecraft chat relay plugin'
mainClassName = 'com.magitechserver.magibridge.MagiBridge'
compileJava.options.encoding = 'UTF-8'
dependencies {
shadow 'org.spongepowered:spongeapi:7.+'
shadow 'io.github.nucleuspowered:nucleus-api:+'
shadow 'me.lucko.luckperms:luckperms-api:4.1'
shadow 'br.net.fabiozumbi12.UltimateChat:UltimateChat-Sponge-5.0-6.0:1.8.4'
shadow files('libs/boop.jar')
shadow files('libs/mcclans.jar')
shadow 'com.github.Arckenver:Nations:v2.11_api7'
compile 'com.mashape.unirest:unirest-java:1.4.9'
compile 'net.dv8tion:JDA:3.8.1_439'
compile 'com.vdurmont:emoji-java:4.0.0'
}
repositories {
mavenCentral()
jcenter()
maven { url = "http://repo.drnaylor.co.uk/artifactory/list/minecraft" }
maven { url = "https://repo.lucko.me/" }
maven { url = "https://raw.github.com/FabioZumbi12/UltimateChat/mvn-repo/" }
maven { url 'https://jitpack.io' }
}
shadowJar {
relocate 'org.apache', 'shaded.apache'
relocate 'org.json', 'shaded.org.json'
relocate 'gnu.trove', 'shaded.gnu.trove'
dependencies {
exclude(dependency('org.slf4j:slf4j-api'))
exclude(dependency('net.java.dev.jna:jna'))
}
exclude 'natives/**', 'tomp2p/**'
baseName = 'MagiBridge-API7'
classifier = null
}