Nikky
09/01/2018, 12:25 PMorg.junit.platform.launcher.core.DefaultLauncher handleThrowable
WARNING: TestEngine with ID 'spek2' failed to discover tests
java.lang.NoClassDefFoundError: kotlin/streams/jdk8/StreamsKt
when i just tried to upgrade the spek versionraniejade
09/01/2018, 12:27 PMNikky
09/01/2018, 12:48 PMNikky
09/01/2018, 12:49 PMraniejade
09/01/2018, 12:51 PMNikky
09/01/2018, 1:05 PMNikky
09/01/2018, 1:05 PMNikky
09/01/2018, 1:23 PMNikky
09/01/2018, 1:24 PMdependencies {
testImplementation project(":voodoo")
testImplementation (group: 'org.spekframework.spek2', name: 'spek-dsl-jvm', version: spek_version) {
exclude group: 'org.jetbrains.kotlin'
}
testRuntimeOnly (group: 'org.spekframework.spek2', name: 'spek-runner-junit5', version: spek_version) {
exclude group: 'org.junit.platform'
exclude group: 'org.jetbrains.kotlin'
}
testImplementation group: 'org.jetbrains.kotlin', name: 'kotlin-test', version: kotlin_version
testImplementation group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: kotlin_version
// <https://mvnrepository.com/artifact/org.junit.platform/junit-platform-engine>
testImplementation group: 'org.junit.platform', name: 'junit-platform-engine', version: '1.3.0-RC1'
// spek requires kotlin-reflect, can be omitted if already in the classpath
testRuntimeOnly group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: kotlin_version
}
raniejade
09/01/2018, 1:24 PMimplementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
which is stated on the website.Nikky
09/01/2018, 1:32 PMraniejade
09/01/2018, 1:33 PMkotlin-stdlib-jdk8
now.Nikky
09/01/2018, 1:33 PMtestImplementation group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: kotlin_version
since the root project really does not need to produce artifacts