26 lines
559 B
Plaintext
26 lines
559 B
Plaintext
// Shared Kotlin library module: Kotlin/JVM + Spring (all-open) compiler plugin.
|
|
import org.gradle.api.tasks.testing.logging.TestLogEvent
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("org.jetbrains.kotlin.plugin.spring")
|
|
id("lms.lint")
|
|
}
|
|
|
|
group = "ru.ysu.lms"
|
|
version = "0.1.0-SNAPSHOT"
|
|
|
|
kotlin {
|
|
jvmToolchain(21)
|
|
compilerOptions {
|
|
freeCompilerArgs.add("-Xjsr305=strict")
|
|
}
|
|
}
|
|
|
|
tasks.withType<Test>().configureEach {
|
|
useJUnitPlatform()
|
|
testLogging {
|
|
events(TestLogEvent.FAILED, TestLogEvent.PASSED, TestLogEvent.SKIPPED)
|
|
}
|
|
}
|