mirror of https://github.com/smithy-lang/smithy-rs
40 lines
1.3 KiB
Groovy
40 lines
1.3 KiB
Groovy
/*
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
kotlin {
|
|
targets {
|
|
fromPreset(presets.jvm, 'jvm')
|
|
}
|
|
|
|
sourceSets {
|
|
jvmMain.dependencies {
|
|
api group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version: kotlinVersion
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"
|
|
}
|
|
|
|
jvmTest.dependencies {
|
|
api 'org.jetbrains.kotlin:kotlin-test'
|
|
api 'org.jetbrains.kotlin:kotlin-test-junit'
|
|
api 'junit:junit:$junitVersion'
|
|
// api "org.junit.jupiter:junit-jupiter-api"
|
|
|
|
api group: 'org.jetbrains.kotlin', name: 'kotlin-test-junit', version: kotlinVersion
|
|
// api group: 'org.jetbrains.kotlin', name: 'kotlin-test-junit5', version: kotlinVersion
|
|
api group: 'junit', name: 'junit', version: junitVersion
|
|
// api group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: junitVersion
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-debug:$coroutinesVersion"
|
|
implementation "io.kotest:kotest-assertions-core-jvm:$kotestVersion"
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
jvmTest {
|
|
testLogging {
|
|
events("passed", "skipped", "failed")
|
|
showStandardStreams = true
|
|
}
|
|
}
|