-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle.kts
68 lines (56 loc) · 2.21 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
65
66
67
68
// SPDX-FileCopyrightText: 2025 Deutsche Telekom AG and others
//
// SPDX-License-Identifier: Apache-2.0
plugins {
kotlin("jvm") version "2.1.0"
kotlin("plugin.serialization") version "2.0.20"
kotlin("plugin.spring") version "2.0.20"
id("org.springframework.boot") version "3.3.3"
id("io.spring.dependency-management") version "1.1.6"
id("org.graalvm.buildtools.native") version "0.10.2"
}
version = "1.0.0"
group = "org.eclipse.lmos.app"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
kotlin {
compilerOptions {
freeCompilerArgs.addAll("-Xjsr305=strict", "-Xcontext-receivers")
}
}
dependencies {
val arcVersion = "0.1.0-SNAPSHOT"
val langchain4jVersion = "0.36.2"
// Arc
implementation("org.eclipse.lmos:arc-azure-client:$arcVersion")
implementation("org.eclipse.lmos:arc-spring-boot-starter:$arcVersion")
implementation("org.eclipse.lmos:arc-reader-pdf:$arcVersion")
implementation("org.eclipse.lmos:arc-reader-html:$arcVersion")
implementation("org.eclipse.lmos:arc-assistants:$arcVersion")
implementation("org.eclipse.lmos:arc-reader-html:$arcVersion")
implementation("org.eclipse.lmos:arc-api:$arcVersion")
implementation("org.eclipse.lmos:arc-graphql-spring-boot-starter:$arcVersion")
// Azure
implementation("com.azure:azure-identity:1.13.1")
// Spring Boot
implementation("org.springframework.boot:spring-boot-starter-actuator")
// Langchain4j
implementation("dev.langchain4j:langchain4j-bedrock:$langchain4jVersion")
implementation("dev.langchain4j:langchain4j-google-ai-gemini:$langchain4jVersion")
implementation("dev.langchain4j:langchain4j-ollama:$langchain4jVersion")
implementation("dev.langchain4j:langchain4j-open-ai:$langchain4jVersion")
// Metrics
implementation("io.micrometer:micrometer-registry-prometheus")
// Test
testImplementation("org.springframework.boot:spring-boot-testcontainers")
testImplementation("org.testcontainers:mongodb:1.19.7")
testImplementation("org.springframework.boot:spring-boot-starter-test")
}
repositories {
mavenLocal()
mavenCentral()
maven(url = "https://oss.sonatype.org/content/repositories/snapshots/")
}