-
Notifications
You must be signed in to change notification settings - Fork 20
/
build.gradle
executable file
·166 lines (123 loc) · 5.56 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath 'org.jooq:jooq-codegen:3.19.7'
classpath 'org.mariadb.jdbc:mariadb-java-client:3.3.3'
}
}
plugins {
id 'java'
id 'application'
id 'idea'
id "com.github.johnrengelman.shadow" version "8.1.1"
id 'info.solidsoft.pitest' version '1.15.0'
id 'se.patrikerdes.use-latest-versions' version '0.2.18'
id 'com.github.ben-manes.versions' version '0.51.0'
}
repositories {
mavenCentral()
jcenter()
maven {
url 'https://m2.dv8tion.net/releases'
name 'm2-dv8tion'
}
maven { url 'https://jitpack.io' }
maven {
url = "https://oss.sonatype.org/content/repositories/snapshots"
mavenContent {
snapshotsOnly()
}
}
}
test {
useJUnitPlatform()
testLogging.showStandardStreams = true
}
mainClassName = "core.Chuu"
group 'org.ish'
version '1.1.0'
sourceCompatibility = "23.PREVIEW"
targetCompatibility = "23.PREVIEW"
compileJava {
options.compilerArgs += ["-Xlint:deprecation", "--enable-preview"]
}
compileTestJava {
options.compilerArgs += ["-Xlint:deprecation", "--enable-preview"]
}
test {
jvmArgs += ['--enable-preview']
}
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
shadowJar {
}
dependencies {
implementation project(':model')
implementation group: 'org.knowm.xchart', name: 'xchart', version: '3.8.7'
implementation 'se.michaelthelin.spotify:spotify-web-api-java:9.0.0-RC1'
implementation 'ch.qos.logback:logback-classic:1.5.6'
implementation 'com.github.devoxin:lavaplayer:1.8.0'
implementation 'it.unimi.dsi:fastutil:8.5.13'
// Audio
implementation 'com.github.natanbc:lavadsp:0.7.7'
implementation('com.sedmelluq:lavaplayer-ext-youtube-rotator:0.2.3') {
exclude module: 'lavaplayer'
}
implementation 'com.sedmelluq:jda-nas:1.1.0'
implementation 'com.github.ben-manes.caffeine:caffeine:3.1.8'
implementation 'com.neovisionaries:nv-i18n:1.29'
implementation 'com.github.ishwi:java-eval:8de726df14c18523912aa6ff21bfd1b0b7d54924'
implementation("net.dv8tion:JDA:5.0.2")
implementation group: 'org.jsoup', name: 'jsoup', version: '1.17.2'
// https://mvnrepository.com/artifact/javax.annotation/javax.annotation-api
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation group: 'org.apache.commons', name: 'commons-collections4', version: '4.5.0-M1'
implementation group: 'org.json', name: 'json', version: '20240303'
implementation group: 'io.github.classgraph', name: 'classgraph', version: '4.8.172'
implementation group: 'com.twelvemonkeys.imageio', name: 'imageio-core', version: '3.10.1'
implementation group: 'com.twelvemonkeys.imageio', name: 'imageio-jpeg', version: '3.10.1'
implementation group: 'com.twelvemonkeys.imageio', name: 'imageio-webp', version: '3.10.1'
implementation group: 'org.imgscalr', name: 'imgscalr-lib', version: '4.2'
implementation group: 'org.apache.xmlgraphics', name: 'batik-transcoder', version: '1.17'
implementation group: 'org.apache.xmlgraphics', name: 'batik-codec', version: '1.17'
implementation group: 'org.apache.xmlgraphics', name: 'batik-svggen', version: '1.17'
implementation group: 'com.zaxxer', name: 'HikariCP', version: '5.1.0'
implementation("com.github.minndevelopment:emoji-java:6.1.0")
// https://mvnrepository.com/artifact/com.opencsv/opencsv
implementation 'org.apache.commons:commons-csv:1.10.0'
// https://mvnrepository.com/artifact/com.github.vladimir-bukhtoyarov/bucket4j-core
implementation 'com.github.vladimir-bukhtoyarov:bucket4j-core:8.0.1'
implementation group: 'club.minnced', name: 'discord-webhooks', version: '0.8.4'
// TEST
// https://mvnrepository.com/artifact/org.awaitility/awaitility
testImplementation group: 'org.awaitility', name: 'awaitility', version: '4.2.1'
testImplementation group: 'com.openpojo', name: 'openpojo', version: '0.9.1'
// https://mvnrepository.com/artifact/org.ow2.asm/asm
testImplementation group: 'org.ow2.asm', name: 'asm', version: '9.7'
// https://mvnrepository.com/artifact/org.graphwalker/graphwalker-core
testImplementation group: 'org.graphwalker', name: 'graphwalker-core', version: '4.3.2'
// https://mvnrepository.com/artifact/org.graphwalker/graphwalker-java
// group: 'org.graphwalker', name: 'graphwalker-java', version: '4.1.0'
// https://mvnrepository.com/artifact/com.pholser/junit-quickcheck-core
//a
// testImplementation group: 'com.pholser', name: 'junit-quickcheck-core', version: '1.0'
testImplementation 'org.mockito:mockito-core:5.11.0'
// https://mvnrepository.com/artifact/org.assertj/assertj-core
testImplementation 'org.assertj:assertj-core:3.25.3'
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.2'
testImplementation "org.testcontainers:testcontainers:1.19.7"
testImplementation "org.testcontainers:junit-jupiter:1.19.7"
testImplementation "org.testcontainers:mariadb:1.19.7"
testImplementation 'org.mariadb.jdbc:mariadb-java-client:3.3.3'
testImplementation 'org.liquibase:liquibase-core:4.27.0'
testImplementation group: 'org.yaml', name: 'snakeyaml', version: '2.2'
testImplementation group: 'org.openjdk.jmh', name: 'jmh-core', version: '1.37'
testAnnotationProcessor group: 'org.openjdk.jmh', name: 'jmh-generator-annprocess', version: '1.37'
}
tasks.withType(JavaCompile).configureEach {
options.fork = true
}