-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
71 lines (58 loc) · 2.45 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
plugins {
kotlin("jvm") version Versions.KOTLIN
kotlin("plugin.serialization") version Versions.KOTLIN
id("com.github.johnrengelman.shadow") version Versions.SHADOW_JAR
}
group = "hub.nebula"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
// For Lavalink
maven("https://maven.arbjerg.dev/snapshots")
maven("https://maven.topi.wtf/releases")
maven("https://m2.dv8tion.net/releases")
}
dependencies {
// ===[ Kotlin Stuff ]===
testImplementation(kotlin("test"))
// ===[ Logging Stuff ]===
implementation("io.github.microutils:kotlin-logging:${Versions.KOTLIN_LOGGING}")
implementation("org.slf4j:slf4j-api:${Versions.SLF4J}")
implementation("org.slf4j:slf4j-simple:${Versions.SLF4J}")
// ===[ Discord & Music Stuff ]===
implementation("net.dv8tion:JDA:${Versions.JDA}")
implementation("club.minnced:jda-ktx:${Versions.JDA_KTX}")
implementation("dev.schlaubi.lavakord:jda:${Versions.LAVAKORD_JDA}")
implementation("com.github.topi314.lavasrc:lavasrc:${Versions.LAVASRC}")
implementation("com.github.topi314.lavasrc:lavasrc-protocol:${Versions.LAVASRC}")
implementation("com.github.topi314.lavasearch:lavasearch:${Versions.LAVASEARCH}")
// ===[ JVM Stuff ]===
implementation("com.github.ben-manes.caffeine:caffeine:${Versions.CAFFEINE}")
// ===[ Database Stuff ]===
implementation("com.zaxxer:HikariCP:${Versions.HIKARI}")
implementation("org.jetbrains.exposed:exposed-core:${Versions.EXPOSED}")
implementation("org.jetbrains.exposed:exposed-dao:${Versions.EXPOSED}")
implementation("org.jetbrains.exposed:exposed-jdbc:${Versions.EXPOSED}")
implementation("org.postgresql:postgresql:${Versions.PSQL}")
// ===[ Serialization Stuff ]===
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:${Versions.KOTLINX_SERIALIZATION}")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-hocon:${Versions.KOTLINX_SERIALIZATION}")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${Versions.JACKSON}")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:${Versions.JACKSON}")
}
tasks {
shadowJar {
archiveBaseName.set("nebula-pangea")
archiveVersion.set(version.toString())
archiveClassifier.set("")
manifest {
attributes["Main-Class"] = "hub.nebula.pangea.PangeaLauncher"
}
}
test {
useJUnitPlatform()
}
}
kotlin {
jvmToolchain(17)
}