Initial Commit
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'com.gradleup.shadow' version '9.0.0-beta7'
|
||||
}
|
||||
|
||||
group = 'me.zacharias'
|
||||
version = '1.0-SNAPSHOT'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
mavenLocal()
|
||||
}
|
||||
|
||||
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'
|
||||
|
||||
testImplementation platform('org.junit:junit-bom:6.0.0')
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter'
|
||||
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
resources {
|
||||
srcDirs "src/main/resources"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register('copyPythonRuntime', Copy) {
|
||||
from 'src/main/python'
|
||||
into "${layout.buildDirectory.get()}/resources/main/python"
|
||||
}
|
||||
|
||||
tasks.named('processResources') {
|
||||
dependsOn 'copyPythonRuntime'
|
||||
}
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes 'Main-Class': 'me.neurodock.glados.Main'
|
||||
}
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
Reference in New Issue
Block a user