f6610777ae
build / build (push) Has been cancelled
- Move plugin and tool-related classes to a dedicated `Plugin-API` module. - Introduce a new plugin lifecycle (`onInit`, `onEnable`, `onDisable`) and a more robust `Tool` API. - Refactor `Core` to use `PrintAdvanceMessageHandler` for improved handling of assistant messages, tool responses, and errors. - Rename `PluginLoader` to `Loader` and migrate it to `me.zacharias.chat.plugin.loader`. - Update build configurations and Java toolchains across modules. - Clean up obsolete plugin annotations and interfaces in the `Core` module.
38 lines
966 B
Groovy
38 lines
966 B
Groovy
plugins {
|
|
id 'java'
|
|
|
|
id 'org.springframework.boot' version '4.1.0-M4'
|
|
id 'io.spring.dependency-management' version '1.1.4'
|
|
}
|
|
|
|
group = 'me.zacharias'
|
|
version = '1.0-SNAPSHOT'
|
|
|
|
dependencies {
|
|
implementation project(":Core")
|
|
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web:4.1.0-M4'
|
|
implementation 'org.springframework.boot:spring-boot-starter-webflux:4.1.0-M4'
|
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:3.0.0-M1'
|
|
//implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test:4.1.0-M4'
|
|
|
|
//runtimeOnly('org.springframework.boot:spring-boot-starter-web')
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
jar{
|
|
manifest {
|
|
attributes 'Main-Class': 'me.zacharias.chat.api.APIApplication'
|
|
}
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(javaVersion)) // Set Java version
|
|
}
|
|
} |