-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (46 loc) · 1.64 KB
/
build.gradle
File metadata and controls
57 lines (46 loc) · 1.64 KB
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
import org.apache.tools.ant.taskdefs.condition.Os
plugins {
id "groovy"
id "org.jetbrains.kotlin.jvm" version "1.5.21"
id "se.thinkcode.cucumber-runner" version "0.0.8"
}
ext {
groovyVersion = '3.0.8'
kotestVersion = '4.6.1'
gebVersion = '4.1'
htmlUnitVersion = '2.52.0'
seleniumVersion = '3.141.59'
cucumberJvmVersion = '6.10.4'
chromeDriverVersion = '2.37'
firefoxDriverVersion = '0.20.0'
}
// apply from: "osSpecificDownloads.gradle"
repositories {
mavenCentral()
jcenter()
}
cucumber {
plugin = ['pretty', 'html:./build/report.html']
glue = 'classpath:com.makingdevs'
main = 'io.cucumber.core.cli.Main'
}
sourceCompatibility = 11
targetCompatibility = 11
test {
useJUnitPlatform()
}
dependencies {
implementation "org.codehaus.groovy:groovy-all:$groovyVersion"
implementation platform('org.jetbrains.kotlin:kotlin-bom')
implementation 'org.jetbrains.kotlin:kotlin-stdlib'
testImplementation "io.cucumber:cucumber-core:$cucumberJvmVersion"
testImplementation "io.cucumber:cucumber-groovy:$cucumberJvmVersion"
testImplementation "io.cucumber:cucumber-junit:$cucumberJvmVersion"
testImplementation "org.gebish:geb-core:$gebVersion"
testImplementation "org.seleniumhq.selenium:selenium-htmlunit-driver:$htmlUnitVersion"
testImplementation "org.seleniumhq.selenium:selenium-firefox-driver:$seleniumVersion"
testImplementation "org.seleniumhq.selenium:selenium-chrome-driver:$seleniumVersion"
testImplementation "org.seleniumhq.selenium:selenium-support:$seleniumVersion"
testImplementation "io.kotest:kotest-runner-junit5:$kotestVersion"
testImplementation "io.kotest:kotest-assertions-core:$kotestVersion"
}