https://kotlinlang.org logo
Title
j

jkbbwr

01/09/2018, 12:54 PM
How does one set up spek or is there an alternative
k

kristofdho

01/09/2018, 12:58 PM
it's been a while but i think this is all
buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.0'
    }
}

junitPlatform {
    filters {
        engines {
            include 'spek'
        }
    }
}

dependencies {
    testCompile "org.jetbrains.spek:spek-api:$spek_version"
    testRuntime "org.jetbrains.spek:spek-junit-platform-engine:$spek_version"

    testCompile "org.junit.platform:junit-platform-runner:1.0.0"
}

repositories {
    maven { url = '<https://dl.bintray.com/jetbrains/spek/>' }
}
o

orangy

01/09/2018, 1:59 PM
#spek