-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.gradle
More file actions
56 lines (47 loc) · 1.48 KB
/
build.gradle
File metadata and controls
56 lines (47 loc) · 1.48 KB
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
plugins {
id 'java'
id 'com.gradleup.shadow' version '9.2.2'
}
shadowJar {
archiveClassifier.set('all')
mergeServiceFiles() // prevents SPI files (META-INF/services/) from being silently dropped when jars overlap
manifest {
attributes(
'Main-Class': 'com.github.hokkaydo.eplbot.Main'
)
}
}
group = 'be.hokkaydo'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.mockito:mockito-core:5.15.2'
testImplementation 'org.junit.jupiter:junit-jupiter'
implementation 'net.dv8tion:JDA:6.4.2'
implementation 'com.apptasticsoftware:rssreader:3.9.3'
implementation 'org.json:json:20231013'
implementation 'io.github.cdimascio:dotenv-java:3.0.0'
implementation 'club.minnced:discord-webhooks:0.8.4'
implementation 'com.auth0:java-jwt:4.4.0'
implementation 'org.springframework:spring-jdbc:6.0.11'
implementation 'org.xerial:sqlite-jdbc:3.42.0.0'
implementation 'org.kohsuke:github-api:1.330'
implementation 'org.jsoup:jsoup:1.18.3'
implementation 'ch.qos.logback:logback-classic:1.5.13'
implementation 'org.jfree:jfreechart:1.5.5'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(25)
}
}
tasks.withType(JavaCompile).configureEach {
options.compilerArgs << '--enable-preview'
}
tasks.withType(Test).configureEach {
useJUnitPlatform()
jvmArgs '--enable-preview'
}