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.
33 lines
690 B
Groovy
33 lines
690 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
group = 'me.zacharias'
|
|
version = '1.0-SNAPSHOT'
|
|
|
|
dependencies {
|
|
implementation project(":Core")
|
|
implementation project(":MALAPITool")
|
|
implementation project(":GeniusAPI")
|
|
implementation project(":API")
|
|
implementation project(":WikipediaTool")
|
|
|
|
implementation("com.github.docker-java:docker-java-core:3.7.1")
|
|
implementation("com.github.docker-java:docker-java-transport-httpclient5:3.7.1")
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
jar{
|
|
manifest {
|
|
attributes 'Main-Class': 'me.zacharias.chat.display.Main'
|
|
}
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(javaVersion)) // Set Java version
|
|
}
|
|
} |