27 lines
695 B
Plaintext
27 lines
695 B
Plaintext
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()
|
|
}
|
|
|
|
tasks.register<JavaExec>("run_server") {
|
|
classpath = sourceSets.main.get().runtimeClasspath
|
|
main = "space.kscience.snark.main.MainKt"
|
|
}
|