-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
63 lines (53 loc) · 1.9 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
kotlin("jvm") version "1.9.10"
id("com.github.johnrengelman.shadow") version "8.1.1"
}
group = "com.blitzoffline"
version = "1.0.0"
repositories {
mavenCentral()
maven("https://jitpack.io")
maven("https://m2.dv8tion.net/releases")
maven("https://repo.triumphteam.dev/snapshots/")
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.9.10")
implementation("commons-cli:commons-cli:1.5.0")
implementation("org.slf4j:slf4j-log4j12:2.0.9")
implementation("net.dv8tion:JDA:5.0.0-beta.15") {
exclude(module = "opus-java")
}
implementation("com.github.Walkyst.lavaplayer-fork:lavaplayer:48352f7c31")
implementation("com.github.ygimenez:Pagination-Utils:4.0.6")
implementation("dev.triumphteam:triumph-cmd-jda-slash:2.0.0-ALPHA-9")
implementation("mysql:mysql-connector-java:8.0.33")
implementation("com.zaxxer:HikariCP:5.0.1")
val exposedVersion = "0.44.0"
implementation("org.jetbrains.exposed", "exposed-core", exposedVersion)
implementation("org.jetbrains.exposed", "exposed-dao", exposedVersion)
implementation("org.jetbrains.exposed", "exposed-jdbc", exposedVersion)
implementation("org.jetbrains.exposed", "exposed-java-time", exposedVersion)
}
java {
sourceCompatibility = JavaVersion.VERSION_11
}
tasks {
withType<Jar> {
manifest {
attributes["Specification-Version"] = project.version
attributes["Implementation-Version"] = project.version
attributes["Main-Class"] = "com.blitzoffline.alphamusic.ApplicationKt"
}
}
withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "11"
javaParameters = true
}
}
withType<ShadowJar> {
archiveFileName.set("AlphaMusic.jar")
}
}