-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (52 loc) · 1.55 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
60
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java'
id 'maven-publish'
id 'groovy'
id 'eclipse'
id 'idea'
}
repositories {
mavenLocal()
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}
test {
useTestNG() { //Tells Gradle to use TestNG
useDefaultListeners = true // Tells TestNG to execute its default reporting structure
suites '/src/test/java/testNG.xml'//location of our suite.xml
}
}
dependencies {
implementation 'org.seleniumhq.selenium:selenium-java:4.1.1'
implementation 'ru.sbtqa.tag:page-factory:1.3.0'
implementation 'commons-io:commons-io:2.11.0'
implementation 'org.apache.poi:poi-ooxml:5.2.2'
implementation 'com.opencsv:opencsv:5.6'
implementation 'com.googlecode.json-simple:json-simple:1.1.1'
implementation 'com.github.javafaker:javafaker:1.0.2'
implementation 'io.cucumber:cucumber-core:7.6.0'
implementation 'io.cucumber:cucumber-java:7.6.0'
implementation 'io.cucumber:cucumber-testng:7.6.0'
implementation 'io.cucumber:cucumber-gherkin:7.6.0'
implementation 'io.cucumber:cucumber-plugin:7.6.0'
testImplementation 'org.testng:testng:7.6.1'
testImplementation 'io.qameta.allure:allure-testng:2.19.0'
}
group = 'selenium'
version = '0.0.1-SNAPSHOT'
description = 'TAF'
java.sourceCompatibility = JavaVersion.VERSION_1_8
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}