-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle.kts
64 lines (54 loc) · 1.98 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
64
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.jetbrains.dokka.gradle.*
plugins {
application
java
kotlin("jvm") version "1.9.22"
id("org.jetbrains.dokka") version "1.6.10"
id("com.github.johnrengelman.shadow") version "8.1.1"
}
group = "org.openredstone"
version = "1.0"
application {
mainClass.set("org.openredstone.chad.ChadKt")
}
repositories {
mavenCentral()
maven("https://jitpack.io")
maven("https://oss.sonatype.org/content/repositories/snapshots")
}
dependencies {
implementation(group = "org.danilopianini", name = "khttp", version = "1.3.1")
implementation(group = "org.jsoup", name = "jsoup", version = "1.13.1")
implementation(group = "org.javacord", name = "javacord-core", version = "3.8.0")
implementation(group = "org.jetbrains.exposed", name = "exposed-core", version = "0.31.1")
implementation(group = "org.jetbrains.exposed", name = "exposed-jdbc", version = "0.31.1")
implementation(group = "org.xerial", name = "sqlite-jdbc", version = "3.34.0")
implementation(group = "com.uchuhimo", name = "konf", version = "1.1.2")
implementation(group = "io.github.microutils", name = "kotlin-logging-jvm", version = "2.0.6")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.0")
runtimeOnly(group = "org.slf4j", name = "slf4j-simple", version = "1.7.30")
testImplementation(kotlin("test-junit5"))
testRuntimeOnly(group = "org.junit.jupiter", name = "junit-jupiter-engine", version = "5.7.1")
implementation(kotlin("stdlib-jdk8"))
}
tasks {
test {
useJUnitPlatform()
}
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "17"
kotlinOptions.freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
}
tasks.withType<JavaExec> {
args("config.yaml")
}
tasks.withType<DokkaTask> {
dokkaSourceSets {
named("main") {
includes.from("packages.md")
}
}
}