52 lines
1.1 KiB
Groovy
52 lines
1.1 KiB
Groovy
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'
|
|
implementation 'com.vdurmont:emoji-java:5.1.1'
|
|
|
|
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 {
|
|
}
|
|
}
|
|
}
|
|
|
|
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()
|
|
} |