-
Notifications
You must be signed in to change notification settings - Fork 36
/
build.gradle.kts
48 lines (41 loc) · 1.44 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
plugins {
val kotlinVersion = "1.9.0"
kotlin("jvm") version kotlinVersion
kotlin("plugin.spring") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("org.jetbrains.kotlin.kapt") version kotlinVersion
id("org.springframework.boot") version "3.1.1"
id("io.spring.dependency-management") version "1.1.0"
}
group = "me.kuku"
version = "1.0-SNAPSHOT"
repositories {
maven("https://nexus.kuku.me/repository/maven-public/")
maven("https://repo.mirai.mamoe.net/snapshots")
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor")
implementation("io.projectreactor.kotlin:reactor-kotlin-extensions")
implementation("org.springframework.boot:spring-boot-starter-data-mongodb-reactive")
implementation("me.kuku:utils:2.3.2.0")
implementation("me.kuku:ktor-spring-boot-starter:2.3.2.0")
implementation("net.mamoe:mirai-core:2.15.0")
implementation("net.mamoe:mirai-core-utils:2.15.0")
implementation("org.asynchttpclient:async-http-client:2.12.3")
implementation("org.jsoup:jsoup:1.15.3")
kapt("org.springframework.boot:spring-boot-configuration-processor")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
tasks.compileKotlin {
kotlinOptions.freeCompilerArgs = listOf("-Xjsr305=strict", "-Xcontext-receivers")
}
tasks.compileJava {
options.encoding = "utf-8"
}
kotlin {
jvmToolchain(17)
}