2023-05-06 18:57:55 +03:00
|
|
|
plugins {
|
|
|
|
id("space.kscience.gradle.jvm")
|
|
|
|
`maven-publish`
|
|
|
|
}
|
|
|
|
|
|
|
|
val coroutinesVersion = space.kscience.gradle.KScienceVersions.coroutinesVersion
|
|
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
|
|
|
|
implementation(project(":snark-ktor"))
|
|
|
|
implementation(project(":snark-storage-driver"))
|
|
|
|
implementation(project(":snark-document-builder"))
|
|
|
|
|
|
|
|
testImplementation(kotlin("test"))
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
2023-05-19 16:31:43 +03:00
|
|
|
|
|
|
|
tasks.register<JavaExec>("run_server") {
|
|
|
|
classpath = sourceSets.main.get().runtimeClasspath
|
|
|
|
main = "space.kscience.snark.main.MainKt"
|
2023-05-19 18:25:41 +03:00
|
|
|
workingDir = File(workingDir.parent)
|
2023-05-19 16:31:43 +03:00
|
|
|
}
|