-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
56 lines (48 loc) · 2.05 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
import java.net.URI
plugins {
kotlin("jvm") version "2.0.20"
application
}
group = "ng.i.sav.qdroid"
version = "0.0.1"
repositories {
mavenCentral()
maven { url = URI("https://repo.spring.io/milestone") }
maven { url = URI("https://repo.spring.io/snapshot") }
}
dependencies {
testImplementation(kotlin("test"))
// https://mvnrepository.com/artifact/org.springframework/spring-context
implementation("org.springframework:spring-context:6.1.13")
// https://mvnrepository.com/artifact/org.springframework/spring-websocket
implementation("org.springframework:spring-websocket:6.1.13")
implementation("org.springframework.ai:spring-ai-openai:1.0.0-M2") {
exclude("org.springframework.boot", "*")
exclude("org.springframework.cloud", "*")
}
// https://mvnrepository.com/artifact/jakarta.websocket/jakarta.websocket-client-api
implementation("jakarta.websocket:jakarta.websocket-client-api:2.1.1")
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind
implementation("com.fasterxml.jackson.core:jackson-databind:2.15.2")
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
implementation("org.slf4j:slf4j-api:2.0.16")
// https://mvnrepository.com/artifact/jakarta.annotation/jakarta.annotation-api
implementation("jakarta.annotation:jakarta.annotation-api:3.0.0")
// // https://mvnrepository.com/artifact/io.quarkus/quarkus-websockets-client
// implementation("io.quarkus:quarkus-websockets-client:3.5.0")
// https://mvnrepository.com/artifact/io.quarkus.http/quarkus-http-websocket-core
implementation("io.quarkus.http:quarkus-http-websocket-core:5.3.2")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0")
implementation("org.jetbrains.kotlin:kotlin-scripting-common")
implementation("org.jetbrains.kotlin:kotlin-scripting-jvm")
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
}
application {
// mainClass.set("MainKt")
}