Removed Ollama integration swaped it for llama.cpp integration and made backend integration more generic/abstract.. soo ollama will return.. maybe.. probobly some mopdules(GeniusAPI) dosent work due to not being ported yet.... and maybe will never be
32 lines
772 B
Groovy
32 lines
772 B
Groovy
plugins {
|
|
id 'java-library'
|
|
}
|
|
|
|
version = coreVersion
|
|
|
|
dependencies {
|
|
implementation project(":Plugin-API")
|
|
api "org.json:json:20250107"
|
|
implementation 'org.graalvm.polyglot:polyglot:25.1.3'
|
|
implementation 'org.graalvm.polyglot:js:25.1.3'
|
|
implementation 'me.xdrop:fuzzywuzzy:1.4.0'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(javaVersion)) // Set Java version
|
|
}
|
|
}
|
|
|
|
// Tell shadow not to interfere with the main publication
|
|
shadowJar {
|
|
archiveClassifier = 'all' // keeps shadow as -all.jar, not the main artifact
|
|
}
|
|
|
|
configurations {
|
|
[apiElements, runtimeElements].each {
|
|
it.outgoing.artifacts.removeIf {
|
|
it.buildDependencies.getDependencies(null).contains(shadowJar)
|
|
}
|
|
}
|
|
} |