39 lines
773 B
Plaintext
39 lines
773 B
Plaintext
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||
|
|
||
|
plugins {
|
||
|
kotlin("jvm") version "1.4.10"
|
||
|
application
|
||
|
}
|
||
|
|
||
|
group = "ru.mipt.npm"
|
||
|
version = "1.0-SNAPSHOT"
|
||
|
|
||
|
repositories {
|
||
|
jcenter()
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation("kscience.plotlykt:plotlykt-server:0.2.0") {
|
||
|
exclude(module = "kotlinx-io")
|
||
|
}
|
||
|
|
||
|
implementation("org.apache.commons:commons-math3:3.6.1")
|
||
|
|
||
|
|
||
|
testImplementation(kotlin("test-junit5"))
|
||
|
testImplementation("org.junit.jupiter:junit-jupiter-api:5.6.0")
|
||
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.6.0")
|
||
|
}
|
||
|
|
||
|
tasks.test {
|
||
|
useJUnitPlatform()
|
||
|
}
|
||
|
|
||
|
tasks.withType<KotlinCompile>() {
|
||
|
kotlinOptions.jvmTarget = "11"
|
||
|
}
|
||
|
|
||
|
application {
|
||
|
mainClassName = "ru.mipt.npm.sim.epidemics.MainKt"
|
||
|
}
|