-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
75 lines (58 loc) · 1.93 KB
/
build.gradle.kts
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
plugins {
application
kotlin("jvm") version "2.0.10"
kotlin("plugin.serialization") version "2.0.10"
id("com.gradleup.shadow") version "8.3.1"
id("io.gitlab.arturbosch.detekt") version "1.23.7"
}
group = "me.darefox"
version = "1.0-SNAPSHOT"
val kordExtVersion = "1.6.0"
val ktorVersion = "2.3.12"
val kotest = "5.9.1"
repositories {
mavenCentral()
}
detekt {
config.setFrom((file("detekt.yml")))
parallel = true
}
dependencies {
testImplementation(kotlin("test"))
// Discord API
implementation("dev.kord:kord-core:0.14.0")
// implementation("com.kotlindiscord.kord.extensions:kord-extensions:$kordExtVersion")
// Cobalt API
implementation("me.darefox:cobaltik:2.0.0")
// IO Libs
implementation("org.jetbrains.kotlinx:kotlinx-io-core:0.5.1")
implementation("commons-io:commons-io:2.16.1")
// Logger
implementation("org.slf4j:slf4j-api:2.0.12")
implementation("ch.qos.logback:logback-classic:1.5.6")
implementation("io.github.oshai:kotlin-logging:7.0.0")
// Result monad
implementation(platform("dev.forkhandles:forkhandles-bom:2.19.0.0"))
implementation("dev.forkhandles:result4k")
// ktor client
implementation("io.ktor:ktor-client-core:$ktorVersion")
implementation("io.ktor:ktor-client-cio:$ktorVersion")
implementation("io.ktor:ktor-client-content-negotiation:$ktorVersion")
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")
// YAML serializer
implementation("com.charleskorn.kaml:kaml:0.61.0")
// Test libraries
testImplementation("io.strikt:strikt-core:0.35.1")
testImplementation("io.kotest:kotest-runner-junit5:$kotest")
testImplementation("io.kotest:kotest-property:$kotest")
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.23.7")
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(22)
}
application {
mainClass.set("me.darefox.videosharebot.MainKt")
}