forked from serenity-bdd/serenity-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (53 loc) · 1.48 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
49
50
51
52
53
54
55
56
57
58
59
buildscript {
ext.kotlin_version = '1.2.51'
ext.serenity_cucumber_version = '1.9.12'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
test {
useJUnitPlatform {
includeEngines 'junit-jupiter'
}
}
dependencies {
compile project(':serenity-model')
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "org.freemarker:freemarker:${freemarkerVersion}"
compile("ca.szc.thirdparty.nl.jworks.markdown_to_asciidoc:markdown_to_asciidoc:1.0") {
exclude group: "org.ow2.asm", module: "asm"
exclude group: "org.jsoup", module: "jsoup"
}
// TEST DEPENDENCIES
testCompile project(':serenity-core')
testCompile project(':serenity-junit')
testCompile ("net.serenity-bdd:serenity-cucumber:$serenity_cucumber_version") {
exclude group:"net.serenity-bdd", module: "serenity-core"
exclude group:"org.slf4j", module: "slf4j-api"
}
// JUnit 5
testImplementation(
"org.junit.jupiter:junit-jupiter-api:${junit5_version}"
)
testRuntimeOnly(
"org.junit.jupiter:junit-jupiter-engine:${junit5_version}"
)
}
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}