-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
46 lines (35 loc) · 1.08 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
kotlin("jvm") version "1.5.21"
id("com.github.johnrengelman.shadow") version "7.0.0"
}
group = "me.themanusia"
version = "1.2.1.0" // <Major change>.<Core change>.<Feature improvement>.<Bug fix>
repositories {
mavenCentral()
maven("https://jitpack.io/")
}
dependencies {
implementation("net.dv8tion:JDA:5.0.0-beta.1")
implementation("com.github.minndevelopment:jda-ktx:9fc90f6")
implementation("ch.qos.logback:logback-classic:1.4.6")
implementation("com.github.ygimenez:Pagination-Utils:4.0.1")
implementation("com.squareup.retrofit2:retrofit:2.9.0")
implementation("com.squareup.retrofit2:converter-gson:2.9.0")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
tasks.withType<ShadowJar> {
archiveFileName.set("app.jar")
}
tasks.withType<Jar> {
manifest {
attributes["Main-Class"] = "themanusiabot.Main"
}
}