-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
42 lines (29 loc) · 1.26 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.9.0"
application
}
group = "com.theagilemonkeys"
version = "1.0-SNAPSHOT"
allprojects { repositories { maven { url = uri("https://jitpack.io") } } }
repositories { mavenCentral() }
dependencies {
implementation("com.github.theam.ellmental:core:main-SNAPSHOT")
implementation("com.github.theam.ellmental:semanticsearch:main-SNAPSHOT")
implementation("com.github.theam.ellmental:vectorstore:main-SNAPSHOT")
implementation("com.github.theam.ellmental:embeddingsmodel:main-SNAPSHOT")
implementation("com.aallam.openai:openai-client:3.3.0")
implementation("io.ktor:ktor-client-core:2.3.2")
implementation("io.ktor:ktor-client-okhttp:2.3.2")
implementation("com.squareup.okhttp3:okhttp:4.10.0")
implementation(platform("org.http4k:http4k-bom:5.4.0.0"))
implementation("org.http4k:http4k-client-okhttp")
testImplementation(kotlin("test"))
}
tasks.test { useJUnitPlatform() }
tasks.withType<KotlinCompile> { kotlinOptions.jvmTarget = "17" }
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions { freeCompilerArgs = freeCompilerArgs + "-Xcontext-receivers" }
}
tasks.named<JavaExec>("run") { standardInput = System.`in` }
application { mainClass.set("MainKt") }