-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (38 loc) · 953 Bytes
/
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
plugins {
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'java-library'
id 'maven-publish'
}
group 'com.github.Softawii'
version '0.2.5'
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
implementation("net.dv8tion:JDA:5.1.0") {
exclude module: 'opus-java'
}
implementation("org.slf4j:slf4j-api:2.0.16")
implementation("org.slf4j:slf4j-simple:2.0.16")
implementation 'org.reflections:reflections:0.10.2'
}
publishing {
publications {
release(MavenPublication) {
from(components.java)
}
}
}
shadowJar {
jar {
exclude('com/softawii/example/**')
}
exclude('com/softawii/example/**')
}
test {
useJUnitPlatform()
}
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21