-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (39 loc) · 1.07 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.41'
id("org.jmailen.kotlinter") version "2.1.1"
id "com.adarshr.test-logger" version "1.7.0"
}
group 'fr.thekata'
version '1.0-SNAPSHOT'
wrapper {
gradleVersion = "5.6.2"
}
task acceptance(type: Test) {
doLast {
javaexec {
main = "acceptance.context.RunCucumberWithKoin"
classpath = configurations.testRuntimeClasspath + sourceSets.main.output + sourceSets.test.output
args = ['--plugin', 'pretty', '--glue', 'acceptance.context', 'src/test/kotlin/use_cases']
}
}
}
repositories {
mavenCentral()
jcenter()
}
test {
useJUnitPlatform()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "org.koin:koin-core:2.0.1"
testCompile 'io.cucumber:cucumber-java8:4.2.+'
testCompile 'io.cucumber:cucumber-junit:4.2.+'
testImplementation("io.kotlintest:kotlintest-runner-junit5:3.3.2")
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}