-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
38 lines (32 loc) · 1 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
38 lines (32 loc) · 1 KB
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
val kotlinVersion: String by project
val ktorVersion: String by project
plugins {
kotlin("jvm") version "1.5.10"
application
kotlin("plugin.serialization") version "1.5.10"
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = "15"
}
}
group = "com.kammet.discord.bot"
version = "1.0-SNAPSHOT"
application {
mainClass.set("com.kammet.discord.bot.ApplicationKt")
}
repositories {
mavenCentral()
jcenter()
maven("https://m2.dv8tion.net/releases")
}
dependencies {
implementation(kotlin("stdlib"))
implementation("net.dv8tion:JDA:4.2.1_253")
implementation("com.jagrosh:jda-utilities:3.0.5")
implementation("org.slf4j:slf4j-simple:1.7.30")
implementation("io.ktor:ktor-client-apache:$ktorVersion")
implementation("io.github.cdimascio:dotenv-kotlin:6.2.2")
implementation("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
implementation("io.ktor:ktor-client-serialization:$ktorVersion")
}