-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
59 lines (49 loc) · 1.4 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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
kotlin("jvm") version "1.9.10"
application
//ShadowJar
id("com.github.johnrengelman.shadow") version "8.1.1"
//DI
id("com.google.devtools.ksp") version "1.9.10-1.0.13"
}
group = "laz.dimboba"
version = "1.1-SNAPSHOT"
repositories {
mavenCentral()
// Kord Snapshots Repository (Optional):
maven("https://oss.sonatype.org/content/repositories/snapshots")
// Lavaplayer Repository
maven("https://m2.dv8tion.net/releases")
maven("https://jitpack.io")
}
dependencies {
testImplementation(kotlin("test"))
// html parser
implementation("org.jsoup:jsoup:1.15.3")
// Kord
implementation("dev.kord:kord-core:0.10.0")
// Lavalink
implementation("dev.schlaubi.lavakord:kord:7.0.3")
// Logging
implementation("io.github.oshai:kotlin-logging-jvm:5.1.0")
implementation("org.slf4j:slf4j-simple:2.0.3")
// Koin
implementation("io.insert-koin:koin-core:3.5.0")
implementation("io.insert-koin:koin-annotations:1.3.0")
ksp("io.insert-koin:koin-ksp-compiler:1.3.0")
implementation("io.github.classgraph:classgraph:4.8.165")
}
application {
mainClass.set("laz.dimboba.dembobabot.MainKt")
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
}
tasks.withType(ShadowJar::class.java) {
archiveBaseName.set("demboba-bot")
// minimize()
}