-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
47 lines (38 loc) · 1.11 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.21"
kotlin("plugin.serialization") version "1.5.21"
application
id("com.github.johnrengelman.shadow") version "7.0.0"
}
group = "de.rubixdev"
version = "1.3.1"
repositories {
mavenCentral()
//maven("https://oss.sonatype.org/content/repositories/snapshots")
}
dependencies {
// Kord
implementation("dev.kord:kord-core:0.7.4")
// Logging
implementation(platform("org.apache.logging.log4j:log4j-bom:2.14.1"))
implementation("org.apache.logging.log4j", "log4j-core")
implementation("org.apache.logging.log4j", "log4j-api")
implementation("org.apache.logging.log4j", "log4j-slf4j-impl")
// KotlinX
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.2")
}
application {
mainClassName = "de.rubixdev.mastermind.MainKt"
}
tasks.jar {
manifest {
attributes(mapOf(
"Main-Class" to "de.rubixdev.mastermind.MainKt",
"Multi-Release" to "true"
))
}
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "11"
}