I'm a bit lost on this commit.. BUT it contains things along the sounds of
- Modified transcription engine - A RESTful API for the companion VIVO-terminal application - Kokoro voice engine
This commit is contained in:
+33
-4
@@ -1,6 +1,11 @@
|
||||
import com.github.jengelman.gradle.plugins.shadow.transformers.AppendingTransformer
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'com.gradleup.shadow' version '9.0.0-beta7'
|
||||
|
||||
id 'org.springframework.boot' version '4.1.0-M4'
|
||||
id 'io.spring.dependency-management' version '1.1.4'
|
||||
}
|
||||
|
||||
group = 'me.zacharias'
|
||||
@@ -15,10 +20,16 @@ dependencies {
|
||||
|
||||
implementation('me.neurodock:Core:+');
|
||||
implementation('io.github.jvoice-project:piper-jni:+')
|
||||
implementation("org.jetbrains:annotations:23.1.0")
|
||||
implementation("io.github.givimad:whisper-jni:+")
|
||||
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.2'
|
||||
implementation 'com.vdurmont:emoji-java:5.1.1'
|
||||
implementation('com.microsoft.onnxruntime:onnxruntime:1.27.0')
|
||||
implementation('org.jetbrains:annotations:23.1.0')
|
||||
implementation('com.fasterxml.jackson.core:jackson-databind:2.17.2')
|
||||
implementation('com.vdurmont:emoji-java:5.1.1')
|
||||
|
||||
implementation('info.picocli:picocli:4.7.7')
|
||||
|
||||
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')
|
||||
|
||||
testImplementation platform('org.junit:junit-bom:6.0.0')
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter'
|
||||
@@ -37,6 +48,24 @@ tasks.register('copyPythonRuntime', Copy) {
|
||||
into "${layout.buildDirectory.get()}/resources/main/python"
|
||||
}
|
||||
|
||||
tasks.shadowJar {
|
||||
mergeServiceFiles() // merges META-INF/services/*
|
||||
|
||||
transform(AppendingTransformer) {
|
||||
resource = "META-INF/spring.handlers"
|
||||
}
|
||||
transform(AppendingTransformer) {
|
||||
resource = "META-INF/spring.schemas"
|
||||
}
|
||||
transform(AppendingTransformer) {
|
||||
resource = "META-INF/spring.factories"
|
||||
}
|
||||
// Spring Boot 2.4+ auto-configuration file, needs line-merging too
|
||||
transform(AppendingTransformer) {
|
||||
resource = "META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports"
|
||||
}
|
||||
}
|
||||
|
||||
tasks.named('processResources') {
|
||||
dependsOn 'copyPythonRuntime'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user