-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
54 lines (45 loc) · 2.01 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
plugins {
id 'java'
id 'application'
id "io.freefair.lombok" version "8.7.1"
}
group = 'com.cadiducho'
version = '3.5-pre'
sourceCompatibility = JavaVersion.VERSION_21;
mainClassName = 'com.cadiducho.bot.CadiBotServer'
repositories {
mavenCentral()
mavenLocal()
maven {
url "https://repo.cadiducho.com/releases/"
}
}
dependencies {
implementation group: 'com.cadiducho', name: 'Zincite', version: '1.9'
implementation group: 'com.cadiducho', name: 'Zincite-JsonModule', version: '1.8'
implementation group: 'com.cadiducho', name: 'Zincite-MessageIDModule', version: '1.8'
implementation group: 'com.vdurmont', name: 'emoji-java', version: '5.1.1'
implementation group: 'commons-cli', name: 'commons-cli', version: '1.9.0'
implementation group: 'com.squareup.moshi', name: 'moshi', version: '1.15.1'
implementation group: 'com.squareup.moshi', name: 'moshi-adapters', version: '1.15.1'
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.12.0'
implementation group: 'org.mariadb.jdbc', name: 'mariadb-java-client', version: '3.4.1'
implementation group: 'com.zaxxer', name: 'HikariCP', version: '5.1.0' // Database
implementation group: 'org.flywaydb', name: 'flyway-core', version: '10.17.1' // Database migrations
implementation group: 'org.flywaydb', name: 'flyway-mysql', version: '10.17.1' // Database migrations
//Tests
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.11.0'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: '5.11.0'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.11.0'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.12.0'
testImplementation group: 'org.mockito', name: 'mockito-junit-jupiter', version: '5.12.0'
}
test {
useJUnitPlatform()
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
distZip {
archiveFileName = "Cadibot.zip"
}