2021-02-26 18:01:00 +03:00
|
|
|
plugins {
|
2024-08-06 09:38:15 +03:00
|
|
|
kotlin("jvm") version "2.0.0"
|
2021-02-26 18:01:00 +03:00
|
|
|
}
|
|
|
|
|
2024-08-06 09:38:15 +03:00
|
|
|
group = "center.sciprog"
|
2021-02-26 18:01:00 +03:00
|
|
|
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
|
2024-08-06 09:38:15 +03:00
|
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1")
|
2021-03-05 10:54:18 +03:00
|
|
|
|
|
|
|
//testing libraries
|
2021-02-26 18:01:00 +03:00
|
|
|
testImplementation(kotlin("test-junit5"))
|
2024-08-06 09:38:15 +03:00
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.3")
|
2021-02-26 18:01:00 +03:00
|
|
|
}
|
|
|
|
|
2021-03-05 10:54:18 +03:00
|
|
|
// Load testing platform
|
2021-02-26 18:01:00 +03:00
|
|
|
tasks.test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
|
2024-08-06 09:38:15 +03:00
|
|
|
kotlin{
|
|
|
|
jvmToolchain(11)
|
2021-02-26 18:01:00 +03:00
|
|
|
}
|