-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
44 lines (37 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
plugins {
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
sourceSets {
main {
java {
srcDirs = ['src']
}
}
}
dependencies {
implementation 'io.sentry:sentry:1.7.23'
implementation 'commons-io:commons-io:2.6'
implementation 'org.apache.commons:commons-lang3:3.10'
implementation 'javax.websocket:javax.websocket-api:1.1'
implementation 'org.json:json:20190722'
implementation 'org.xerial:sqlite-jdbc:3.8.11.2'
implementation 'org.glassfish.tyrus.bundles:tyrus-standalone-client:1.9'
implementation 'org.slf4j:slf4j-simple:1.7.9'
implementation 'io.github.cdimascio:dotenv-java:2.2.0'
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes 'Main-Class' : 'de.gost0r.pickupbot.PickupBotDiscordMain'
}
destinationDirectory.set(file("$rootDir/"))
archiveName 'PickupBot.jar'
from {
configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}