This repository has been archived by the owner on May 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
64 lines (50 loc) · 1.56 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 'net.kyori.blossom' version '1.1.0'
id 'com.github.johnrengelman.shadow' version '2.0.3'
id 'org.spongepowered.plugin' version '0.8.1'
id 'io.franzbecker.gradle-lombok' version '1.11'
id 'java'
id 'idea'
}
group 'pw.lemmmy'
version '2.7.0'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
blossom {
replaceTokenIn('src/main/java/pw/lemmmy/kristpay/KristPay.java')
replaceToken '@version@', project.version
}
lombok {
version = "1.16.20"
sha256 = ""
}
configurations {
provided
compile.extendsFrom provided
}
dependencies {
compile 'org.spongepowered:spongeapi:7.0.0'
compile 'org.java-websocket:Java-WebSocket:1.3.7'
compile 'com.mashape.unirest:unirest-java:1.4.9'
compile group: 'org.json', name: 'json', version: '20180130'
compile 'io.prometheus:simpleclient_common:0.0.26'
compile 'org.eclipse.jetty:jetty-server:9.4.6.v20170531'
compile 'javax.servlet:javax.servlet-api:4.0.0'
implementation 'org.apache.commons:commons-collections4:4.4'
}
shadowJar {
classifier = ''
relocate 'org.apache.http', 'shadow.pw.lemmmy.kristpay.http'
relocate 'org.apache.commons.logging', 'shadow.pw.lemmmy.kristpay.logging'
relocate 'org.apache.commons.collections4', 'shadow.pw.lemmmy.kristpay.collections4'
relocate 'org.eclipse.jetty', 'shadow.pw.lemmmy.kristpay.jetty'
relocate 'io.prometheus', 'shadow.pw.lemmmy.kristpay.prometheus.client'
relocate 'javax.servlet', 'shadow.pw.lemmmy.kristpay.servlet'
exclude 'jetty-dir.css'
exclude 'about.html'
}
artifacts {
archives shadowJar
}