ks-materials/build.gradle.kts

31 lines
677 B
Plaintext
Raw Normal View History

2021-02-26 18:01:00 +03:00
plugins {
2021-03-19 18:39:14 +03:00
kotlin("jvm") version "1.4.31"
2021-02-26 18:01:00 +03:00
}
group = "ru.mipt.npm"
version = "1.0"
2021-03-05 10:54:18 +03:00
// Where to get dependencies
2021-02-26 18:01:00 +03:00
repositories {
mavenCentral()
}
dependencies {
2021-03-05 10:54:18 +03:00
//loading coroutines
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3")
//testing libraries
2021-02-26 18:01:00 +03:00
testImplementation(kotlin("test-junit5"))
testImplementation("org.junit.jupiter:junit-jupiter-api:5.6.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.6.0")
}
2021-03-05 10:54:18 +03:00
// Load testing platform
2021-02-26 18:01:00 +03:00
tasks.test {
useJUnitPlatform()
}
2021-03-05 10:54:18 +03:00
// Set a byte-code target for JVM
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
2021-02-26 18:01:00 +03:00
kotlinOptions.jvmTarget = "11"
}