-
Notifications
You must be signed in to change notification settings - Fork 22
/
build.gradle
executable file
·156 lines (114 loc) · 5.45 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
buildscript {
dependencies {
classpath 'org.ow2.asm:asm:9.4'
}
}
plugins {
id 'java'
id 'application'
id "com.github.johnrengelman.shadow" version "7.1.2"
id 'info.solidsoft.pitest' version '1.9.11'
id 'se.patrikerdes.use-latest-versions' version '0.2.18'
id 'com.github.ben-manes.versions' version '0.44.0'
}
repositories {
mavenCentral()
jcenter()
maven {
url 'https://m2.dv8tion.net/releases'
name 'm2-dv8tion'
}
maven { url 'https://jitpack.io' }
}
test {
useJUnitPlatform()
testLogging.showStandardStreams = true
}
apply plugin: 'java'
apply plugin: 'idea'
mainClassName = "core.Chuu"
group 'org.ish'
version '1.1.0'
apply plugin: 'java'
sourceCompatibility = "19.PREVIEW"
targetCompatibility = "19.PREVIEW"
compileJava {
options.compilerArgs += ["-Xlint:deprecation", "--enable-preview", "--add-modules", "jdk.incubator.concurrent"]
}
compileTestJava {
options.compilerArgs += ["-Xlint:deprecation", "--enable-preview", "--add-modules", "jdk.incubator.concurrent"]
}
test {
jvmArgs += ['--enable-preview', '--add-modules', 'jdk.incubator.concurrent']
}
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.3'
implementation 'se.michaelthelin.spotify:spotify-web-api-java:7.3.0'
implementation 'ch.qos.logback:logback-classic:1.4.5'
implementation 'com.github.walkyst.lavaplayer-fork:lavaplayer:1.3.99.2'
// https://mvnrepository.com/artifact/net.sf.trove4j/trove4j
implementation 'net.sf.trove4j:trove4j:3.0.3'
// 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.2'
implementation 'com.neovisionaries:nv-i18n:1.29'
implementation 'com.github.ishwi:java-eval:8de726df14c18523912aa6ff21bfd1b0b7d54924'
implementation("net.dv8tion:JDA:5.0.0-beta.3")
implementation group: 'org.jsoup', name: 'jsoup', version: '1.15.3'
// 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.4'
implementation group: 'org.json', name: 'json', version: '20220924'
implementation group: 'io.github.classgraph', name: 'classgraph', version: '4.8.154'
implementation group: 'com.twelvemonkeys.imageio', name: 'imageio-core', version: '3.9.4'
implementation group: 'com.twelvemonkeys.imageio', name: 'imageio-jpeg', version: '3.9.4'
implementation group: 'com.twelvemonkeys.imageio', name: 'imageio-webp', version: '3.9.4'
implementation group: 'org.imgscalr', name: 'imgscalr-lib', version: '4.2'
implementation group: 'org.apache.xmlgraphics', name: 'batik-transcoder', version: '1.16'
implementation group: 'org.apache.xmlgraphics', name: 'batik-codec', version: '1.16'
implementation group: 'org.apache.xmlgraphics', name: 'batik-svggen', version: '1.16'
implementation group: 'com.zaxxer', name: 'HikariCP', version: '5.0.1'
implementation("com.github.minndevelopment:emoji-java:6.1.0")
// https://mvnrepository.com/artifact/com.opencsv/opencsv
implementation 'org.apache.commons:commons-csv:1.9.0'
// https://mvnrepository.com/artifact/com.github.vladimir-bukhtoyarov/bucket4j-core
implementation 'com.github.vladimir-bukhtoyarov:bucket4j-core:7.6.0'
// TEST
// https://mvnrepository.com/artifact/org.awaitility/awaitility
testImplementation group: 'org.awaitility', name: 'awaitility', version: '4.2.0'
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.4'
// 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.0.0'
// https://mvnrepository.com/artifact/org.assertj/assertj-core
testImplementation 'org.assertj:assertj-core:3.24.2'
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.2'
testImplementation "org.testcontainers:testcontainers:1.17.6"
testImplementation "org.testcontainers:junit-jupiter:1.17.6"
testImplementation "org.testcontainers:mariadb:1.17.6"
testImplementation 'org.mariadb.jdbc:mariadb-java-client:3.1.2'
testImplementation 'org.liquibase:liquibase-core:4.19.0'
testImplementation group: 'org.yaml', name: 'snakeyaml', version: '1.33'
testImplementation group: 'org.openjdk.jmh', name: 'jmh-core', version: '1.36'
testAnnotationProcessor group: 'org.openjdk.jmh', name: 'jmh-generator-annprocess', version: '1.36'
}
tasks.withType(JavaCompile).configureEach {
options.fork = true
}