mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-19 07:54:46 +00:00
chore: integrate llama.cpp submodule into prepareSandbox task
This commit is contained in:
parent
eddde39eff
commit
9de32665da
1 changed files with 4 additions and 7 deletions
|
|
@ -73,12 +73,6 @@ tasks.register<Exec>("updateSubmodules") {
|
|||
commandLine("git", "submodule", "update", "--init", "--recursive")
|
||||
}
|
||||
|
||||
tasks.register<Copy>("copyLlamaSubmodule") {
|
||||
dependsOn("updateSubmodules")
|
||||
from(layout.projectDirectory.file("src/main/cpp/llama.cpp"))
|
||||
into(layout.buildDirectory.dir("idea-sandbox/plugins/CodeGPT/llama.cpp"))
|
||||
}
|
||||
|
||||
tasks {
|
||||
wrapper {
|
||||
gradleVersion = properties("gradleVersion").get()
|
||||
|
|
@ -126,7 +120,10 @@ tasks {
|
|||
|
||||
prepareSandbox {
|
||||
enabled = true
|
||||
dependsOn("copyLlamaSubmodule")
|
||||
dependsOn("updateSubmodules")
|
||||
from("src/main/cpp/llama.cpp") {
|
||||
into("CodeGPT/llama.cpp")
|
||||
}
|
||||
}
|
||||
|
||||
signPlugin {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue