I do have the plugin installed. Thanks. Here is wh...
# gradle
n
I do have the plugin installed. Thanks. Here is what I have figured out
Copy code
import java.net.URI

group = "poker"
version = "1.0-SNAPSHOT"

buildscript {

    repositories {
        mavenCentral()
    }
    dependencies {
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71")
        classpath("org.junit.platform:junit-platform-gradle-plugin:1.2.0")
    }
}

plugins {
    java
    kotlin("jvm") version "1.2.71"
}

apply {
    plugin("org.junit.platform.gradle.plugin")
}

val test by tasks.getting(Test::class) {
    useJUnitPlatform {
        includeEngines("spek")
    }

    testLogging {
        events("PASSED", "FAILED", "SKIPPED")
    }
}

repositories {
    maven { url = URI("<http://dl.bintray.com/jetbrains/spek>") }
    mavenCentral()
}

dependencies {
    compile( "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.71")
    compile( "org.jetbrains.kotlin:kotlin-reflect:1.2.71")
    testCompile( "org.jetbrains.kotlin:kotlin-test:1.2.71")
    testCompile( "org.jetbrains.spek:spek-api:1.1.5")
    testRuntime( "org.jetbrains.spek:spek-junit-platform-engine:1.1.5")
}