-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
40 lines (32 loc) · 1.14 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
plugins {
id 'java'
}
apply plugin: 'java-library'
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
jcenter()
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
api("org.seleniumhq.selenium:selenium-chrome-driver:3.141.59")
api("org.seleniumhq.selenium:selenium-firefox-driver:3.141.59")
implementation group: 'org.seleniumhq.selenium', name: 'selenium-support', version: '3.141.59'
implementation("io.cucumber:cucumber-core:6.11.0")
implementation("io.cucumber:cucumber-java:6.11.0")
implementation("io.cucumber:cucumber-java8:6.11.0")
implementation("io.cucumber:cucumber-junit:6.11.0")
api "io.github.prashant-ramcharan:webdriver-binary-downloader:1.3.0"
implementation group: 'junit', name: 'junit', version: '4.13.2'
}
tasks.withType(Test) {
systemProperties = System.getProperties()
systemProperties.remove("java.endorsed.dirs")
}
task runChromeTests(type: Test) {
systemProperty 'browser', 'chrome'
include '**/runChromeTests.class'
outputs.upToDateWhen { false }
}