Add Dining Philosopher and Consumer Producer base code structure
This commit is contained in:
30
build.gradle.kts
Normal file
30
build.gradle.kts
Normal file
@@ -0,0 +1,30 @@
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
kotlin("jvm") version "1.7.10"
|
||||
}
|
||||
|
||||
group = "org.example"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
|
||||
implementation("io.kotest:kotest-runner-junit5-jvm:5.4.2")
|
||||
testImplementation(kotlin("test"))
|
||||
testImplementation("io.kotest:kotest-runner-junit5:5.4.2")
|
||||
testImplementation("io.kotest:kotest-property:5.4.2")
|
||||
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-debug:1.4.0")
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
testLogging.showStandardStreams = true
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile> {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
}
|
||||
Reference in New Issue
Block a user