b74c5e9e97
build / build (push) Has been cancelled
- Add JarFile-based plugin.json manifest reading and validation - Implement reflection-based plugin class instantiation (Data or no-arg constructor) - Wrap Tool objects into OllamaFunctionTool with basic parameter/response handling - Implement ToolArguments storage and ToolResponse record - Extract RPCP_SOURCE constant; add plugin name validation - Update Data interface: getLoadedPlugins() returns LoadedPlugin[] - Fix launcher package references (me.zacharias.chat → me.neurodock) TODO: Extract FileSystem from JAR, populate PluginMetadata, complete OllamaFunctionArgument↔ToolArguments wrapping, invoke plugin lifecycle hooks Signed-off-by: zacharias <alienfromdia@proton.me>
27 lines
443 B
Groovy
27 lines
443 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
}
|
|
|
|
version = '1.0-SNAPSHOT'
|
|
|
|
dependencies {
|
|
implementation project(":Display")
|
|
implementation project(":Core")
|
|
}
|
|
|
|
jar{
|
|
manifest {
|
|
attributes 'Main-Class': 'me.neurodock.launcher.Launcher'
|
|
}
|
|
}
|
|
|
|
application {
|
|
mainClass = 'me.neurodock.launcher.Launcher'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(javaVersion)) // Set Java version
|
|
}
|
|
} |