mirror of
https://git.ittx.com.cn/office-walle/will_server.git
synced 2026-10-19 08:15:57 +00:00
- 集成Spring AI框架支持大模型对话 - 实现聊天历史记录管理功能 - 添加代码生成功能支持 - 集成MCP协议工具调用 - 实现流式响应和会话管理 - 添加系统提示词和上下文管理 - 支持多租户会话隔离 - 配置自动化装配和依赖注入 - 实现错误处理和异常捕获 - 添加用户权限验证和审计追踪 - 支持对话历史持久化存储 - 实现智能时间上下文识别
65 lines
2.0 KiB
Groovy
65 lines
2.0 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'io.spring.dependency-management' version '1.1.7' apply false
|
|
}
|
|
allprojects {
|
|
group = 'com.will'
|
|
version = '1.0-SNAPSHOT'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
apply plugin: 'java' // 明确为每个子项目应用 java 插件
|
|
apply plugin: 'io.spring.dependency-management' // 复用上面声明的版本
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
compileJava {
|
|
options.compilerArgs << '-parameters'
|
|
}
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "org.springframework.boot:spring-boot-dependencies:3.5.7"
|
|
mavenBom "org.springframework.ai:spring-ai-bom:1.0.0"
|
|
mavenBom "org.bsc.langgraph4j:langgraph4j-bom:1.8.19"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework:spring-context'
|
|
implementation 'org.springframework:spring-aop'
|
|
implementation("org.springframework.boot:spring-boot-starter-data-redis")
|
|
implementation("org.springframework.boot:spring-boot-starter-json")
|
|
implementation 'org.springframework.boot:spring-boot-autoconfigure'
|
|
implementation 'org.slf4j:slf4j-api'
|
|
|
|
implementation("com.fasterxml.jackson.core:jackson-databind:2.20.1")
|
|
implementation("cn.hutool:hutool-all:5.8.41")
|
|
|
|
|
|
implementation 'org.aspectj:aspectjweaver:1.9.25'
|
|
|
|
implementation("org.apache.commons:commons-pool2:2.12.1")
|
|
|
|
implementation enforcedPlatform('org.junit:junit-bom:5.10.0')
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
|
|
compileOnly 'org.projectlombok:lombok:1.18.34'
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.34'
|
|
testCompileOnly 'org.projectlombok:lombok:1.18.34'
|
|
testAnnotationProcessor 'org.projectlombok:lombok:1.18.34'
|
|
|
|
}
|
|
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
} |