-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
executable file
·53 lines (41 loc) · 1.14 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
plugins {
java
application
}
group = "dev.spiritstudios"
version = "1.0.0-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
repositories {
maven("https://maven.callmeecho.dev/snapshots")
mavenCentral()
maven("https://maven.lavalink.dev/releases")
maven("https://libraries.minecraft.net")
maven("https://maven.lukebemish.dev/releases")
}
dependencies {
compileOnly(libs.annotations)
implementation(libs.javacord)
implementation(libs.log4j.core)
implementation(libs.log4j.slf4j)
implementation(libs.datafixerupper)
implementation(libs.fastutil)
implementation(libs.webp.imageio)
implementation(libs.maze)
implementation(libs.lavaplayer)
implementation(libs.lavaplayer.youtube)
}
application {
mainClass.set("dev.spiritstudios.ghost.Ghost")
}
tasks.withType<Jar>() {
manifest.attributes["Main-Class"] = "dev.spiritstudios.ghost.Ghost"
val dependencies = configurations
.runtimeClasspath
.get()
.map(::zipTree)
from(dependencies)
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}