-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
53 lines (44 loc) · 1.28 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
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '6.1.0'
}
group 'yt.graven'
version '1.0-SNAPSHOT'
sourceCompatibility = targetCompatibility = '16'
repositories {
mavenCentral()
maven {
url 'https://jitpack.io/'
}
}
dependencies {
implementation "net.dv8tion:JDA:5.0.0-alpha.2"
implementation 'me.carleslc.Simple-YAML:Simple-Yaml:1.7.2'
implementation 'com.google.guava:guava:31.0.1-jre'
implementation 'org.springframework:spring-context:5.3.13'
implementation 'javax.inject:javax.inject:1'
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation 'ch.qos.logback:logback-classic:1.2.7'
implementation 'club.minnced:discord-webhooks:0.7.2'
implementation 'com.google.code.gson:gson:2.8.9'
}
test {
useJUnitPlatform()
}
shadowJar {
project.configurations.implementation.canBeResolved(true)
configurations = [project.configurations.implementation]
}
application {
mainClassName = 'yt.graven.gravensupport.Main'
setApplicationDefaultJvmArgs(["--add-opens", "java.base/java.net=ALL-UNNAMED"])
}
compileJava {
manifest {
attributes(
'Main-Class': 'yt.graven.gravensupport.Main'
)
}
}
compileJava.options.encoding = "UTF-8"