jackmiras
08/18/2017, 7:42 PM// Plugin settings
buildscript {
repositories { mavenCentral() }
dependencies { classpath "org.junit.platform:junit-platform-gradle-plugin:1.0.0-M4" }
}
plugins {
id 'application'
id 'com.heroku.sdk.heroku-gradle' version '0.2.0'
id 'org.jetbrains.kotlin.jvm' version '1.1.4'
}
apply plugin: 'org.junit.platform.gradle.plugin'
junitPlatform {
filters {
engines {
include 'spek'
}
}
}
// Project settings
group 'project-name'
version '1.2'
mainClassName = "config/api/Application"
sourceSets {
main.java.srcDirs += 'src/main/kotlin/'
test.java.srcDirs += 'src/test/kotlin/'
}
// Dependency settings
repositories {
jcenter()
maven { url "<http://dl.bintray.com/jetbrains/spek>" }
}
def kotlin_version = '1.1.4'
def spek_version = '1.1.2'
dependencies {
testCompile "org.jetbrains.spek:spek-api:$spek_version"
testRuntime "org.jetbrains.spek:spek-junit-platform-engine:$spek_version"
testRuntime 'org.junit.platform:junit-platform-launcher:1.0.0-M4'
testCompile 'com.nhaarman:mockito-kotlin:1.5.0'
testCompile 'org.amshove.kluent:kluent:1.26'
testCompile 'com.github.javafaker:javafaker:0.13'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
compile 'com.github.salomonbrys.kodein:kodein:4.1.0'
compile 'com.sparkjava:spark-core:2.6.0'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.6'
compile 'org.slf4j:slf4j-simple:1.7.21'
compile 'org.mongodb.morphia:morphia:1.3.2'
compile 'io.github.lukehutch:fast-classpath-scanner:2.4.2'
}
Apparently there isn't anything wrong but I'm still unable to run the tests through the terminal