-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
64 lines (51 loc) · 2.33 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
plugins {
id("java")
kotlin("jvm") version "1.9.10"
kotlin("plugin.serialization") version "1.9.10"
}
group = "point.rar"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
testImplementation(platform("org.junit:junit-bom:5.9.1"))
testImplementation("org.junit.jupiter:junit-jupiter")
implementation(kotlin("stdlib-jdk8"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk9:1.7.3")
val kotlinx_serialization_json_version = "1.4.1"
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinx_serialization_json_version")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.14.2")
implementation("org.apache.httpcomponents:httpclient:4.5.13")
val ktor_version = "2.2.3"
implementation("io.ktor:ktor-client-core:$ktor_version")
implementation("io.ktor:ktor-client-cio:$ktor_version")
implementation("io.ktor:ktor-client-content-negotiation:$ktor_version")
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktor_version")
val slf4j_version = "2.0.6"
implementation("org.slf4j:slf4j-api:$slf4j_version")
implementation("org.slf4j:slf4j-simple:$slf4j_version")
val resilience4jVersion = "2.1.0"
implementation("io.github.resilience4j:resilience4j-kotlin:${resilience4jVersion}")
implementation("io.github.resilience4j:resilience4j-retry:${resilience4jVersion}")
implementation("io.github.resilience4j:resilience4j-timelimiter:${resilience4jVersion}")
implementation("io.github.resilience4j:resilience4j-ratelimiter:${resilience4jVersion}")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.14.2")
implementation("org.apache.httpcomponents:httpclient:4.5.13")
implementation("io.github.resilience4j:resilience4j-timelimiter:2.1.0")
implementation("io.github.resilience4j:resilience4j-ratelimiter:2.1.0")
implementation("io.projectreactor:reactor-core:3.5.10")
// mysql
val jasyncVersion = "2.2.0"
implementation("com.github.jasync-sql:jasync-mysql:${jasyncVersion}")
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<JavaCompile> {
options.compilerArgs.addAll(listOf("--enable-preview", "--add-modules", "jdk.incubator.concurrent"))
}
kotlin {
jvmToolchain(19)
}