This repository has been archived by the owner on Dec 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
90 lines (74 loc) · 2.46 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
group = "nl.pindab0ter"
version = "3.0.0"
application {
applicationName = "EggBot"
mainClass.set("nl.pindab0ter.eggbot.MainKt")
}
plugins {
idea
application
kotlin("jvm") version "1.8.10"
kotlin("plugin.serialization") version "1.8.10"
id("com.squareup.wire") version "4.5.3"
id("com.github.ben-manes.versions") version "0.46.0"
}
wire {
kotlin {}
}
repositories {
mavenCentral()
maven {
// Required for Kord and Kord Extensions
name = "Kord Extensions"
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots")
}
maven {
name = "Kord Snapshots"
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
}
}
dependencies {
implementation("org.jetbrains.kotlin", "kotlin-stdlib-jdk8", "1.8.10")
implementation("org.jetbrains.kotlinx", "kotlinx-coroutines-core", "1.6.4")
implementation("joda-time", "joda-time", "2.12.4")
implementation("ch.obermuhlner", "big-math", "2.3.2")
// Configuration
implementation("com.charleskorn.kaml", "kaml", "0.53.0")
// Database
implementation("org.jetbrains.exposed", "exposed-core", "0.41.1")
implementation("org.jetbrains.exposed", "exposed-dao", "0.41.1")
implementation("org.jetbrains.exposed", "exposed-jdbc", "0.41.1")
implementation("org.jetbrains.exposed", "exposed-jodatime", "0.41.1")
implementation("org.flywaydb", "flyway-core", "9.16.1")
runtimeOnly("org.postgresql", "postgresql", "42.6.0")
// Networking
implementation("com.github.kittinunf.fuel", "fuel", "2.3.1")
implementation("com.squareup.wire", "wire-gradle-plugin", "4.5.3")
// Discord
implementation("com.kotlindiscord.kord.extensions", "kord-extensions", "1.5.6")
// Task scheduling
implementation("org.quartz-scheduler", "quartz", "2.3.2")
// Logging
runtimeOnly("ch.qos.logback", "logback-classic", "1.4.6")
implementation("io.github.microutils", "kotlin-logging-jvm", "3.0.4")
implementation("io.sentry", "sentry", "6.16.0")
}
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
freeCompilerArgs = listOf("-opt-in=kotlin.RequiresOptIn")
}
}
tasks.withType<JavaCompile>().configureEach {
enabled = false
}