This repository was archived by the owner on Dec 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
59 lines (48 loc) · 1.87 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
plugins {
kotlin("jvm") version "2.0.0"
kotlin("plugin.serialization") version "1.8.0"
}
group = "live.cakeyfox"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
subprojects {
apply(plugin = "org.jetbrains.kotlin.jvm")
repositories {
mavenCentral()
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
maven("https://jitpack.io")
}
dependencies {
// Kotlin
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0-RC")
// Bukkit Wrapper
implementation("org.spigotmc:spigot-api:1.20.6-R0.1-SNAPSHOT")
// Exposed and DB
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
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-java-time:0.41.1")
implementation("org.postgresql:postgresql:42.5.0")
implementation("org.mongodb:mongodb-driver-sync:5.1.4")
// Ktor
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("io.ktor:ktor-server-netty:2.3.12")
implementation("io.ktor:ktor-server-core:2.3.12")
implementation("io.ktor:ktor-server-websockets:2.3.12")
implementation("io.ktor:ktor-server-content-negotiation:2.3.12")
implementation("io.ktor:ktor-serialization-kotlinx-json:2.3.12")
implementation("io.ktor:ktor-client-core:2.3.12")
implementation("io.ktor:ktor-client-cio:2.3.12")
// VaultAPI
compileOnly("com.github.MilkBowl:VaultAPI:1.7")
// HikariCP
implementation("com.zaxxer:HikariCP:4.0.3")
}
}
kotlin {
jvmToolchain(17)
}