forked from freyacodes/Lavalink-Client
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
46 lines (40 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
plugins {
id "java"
id "java-library"
id "maven-publish"
id "com.github.johnrengelman.shadow" version "7.1.2"
}
group "com.github"
version "1.0.0"
sourceCompatibility = 1.8
compileJava.options.encoding = "UTF-8"
repositories {
mavenCentral()
maven { url "https://m2.dv8tion.net/releases" }
jcenter()
}
dependencies {
implementation "org.apache.httpcomponents:httpclient:4.5.13"
implementation "commons-io:commons-io:2.11.0"
implementation "org.java-websocket:Java-WebSocket:1.5.3"
implementation "org.json:json:20220320"
api "net.dv8tion:JDA:4.4.0_352"
api "org.slf4j:slf4j-api:1.7.36"
api "com.github.spotbugs:spotbugs-annotations:4.6.0"
api "io.prometheus:simpleclient:0.15.0"
}
shadowJar {
def impl = project.configurations.implementation
impl.canBeResolved(true)
configurations = [impl]
archiveClassifier.set("")
}
publishing {
publications {
maven(MavenPublication) {
pom {
from components.java
}
}
}
}