first commit
This commit is contained in:
36
build.gradle.kts
Normal file
36
build.gradle.kts
Normal file
@@ -0,0 +1,36 @@
|
||||
plugins {
|
||||
id("com.gradleup.shadow") version "9.3.1"
|
||||
kotlin("jvm") version "2.2.21"
|
||||
}
|
||||
|
||||
kotlin.jvmToolchain(21)
|
||||
repositories.mavenCentral()
|
||||
val main = "dev.zerozipp.MainKt"
|
||||
group = "dev.zerozipp"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
dependencies {
|
||||
val slf4j = properties["slf4j.version"]
|
||||
val vosk = properties["vosk.version"]
|
||||
val gson = properties["gson.version"]
|
||||
val ktor = properties["ktor.version"]
|
||||
|
||||
implementation("com.alphacephei:vosk:$vosk")
|
||||
implementation("com.google.code.gson:gson:$gson")
|
||||
implementation("io.ktor:ktor-client-content-negotiation:$ktor")
|
||||
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktor")
|
||||
implementation("io.ktor:ktor-client-core:$ktor")
|
||||
implementation("io.ktor:ktor-client-cio:$ktor")
|
||||
implementation("org.slf4j:slf4j-simple:$slf4j")
|
||||
testImplementation(kotlin("test"))
|
||||
}
|
||||
|
||||
tasks.shadowJar {
|
||||
manifest.attributes(
|
||||
"Main-Class" to main
|
||||
)
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
Reference in New Issue
Block a user