-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
57 lines (47 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
apply plugin: 'java'
compileJava {
sourceCompatibility = 11
targetCompatibility = 11
}
repositories {
mavenCentral()
}
buildscript {
repositories {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.1'
}
}
dependencies {
implementation group: 'org.seleniumhq.selenium', name: 'selenium-chrome-driver', version: '4.12.1'
implementation group: 'org.seleniumhq.selenium', name: 'selenium-firefox-driver', version: '4.12.1'
implementation group: 'org.seleniumhq.selenium', name: 'selenium-ie-driver', version: '4.12.1'
implementation group: 'com.google.guava', name: 'guava', version: '32.1.2-jre'
implementation 'io.github.bonigarcia:webdrivermanager:5.5.3'
implementation 'io.github.prashant-ramcharan:courgette-jvm:6.17.0'
}
tasks.withType(Test) {
systemProperties = System.getProperties()
systemProperties.remove("java.endorsed.dirs")
}
task runFeaturesUsingJUnit(type: Test) {
include '**/suites/junit/FeatureSuite.class'
outputs.upToDateWhen { false }
}
task runScenariosUsingJUnit(type: Test) {
include '**/suites/junit/ScenarioSuite.class'
outputs.upToDateWhen { false }
}
task runFeaturesUsingTestNG(type: Test) {
useTestNG()
include '**/suites/testng/FeatureSuite.class'
outputs.upToDateWhen { false }
}
task runScenariosUsingTestNG(type: Test) {
useTestNG()
include '**/suites/testng/ScenarioSuite.class'
outputs.upToDateWhen { false }
}