-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (38 loc) · 1.93 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
plugins {
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/org.testng/testng
testImplementation group: 'org.testng', name: 'testng', version: '7.7.1'
// https://mvnrepository.com/artifact/io.github.bonigarcia/webdrivermanager
implementation group: 'io.github.bonigarcia', name: 'webdrivermanager', version: '5.3.2'
// https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java
implementation group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '4.8.0'
// https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
// https://mvnrepository.com/artifact/com.github.javafaker/javafaker
implementation group: 'com.github.javafaker', name: 'javafaker', version: '1.0.2'
// https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.19.0'
// https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api
implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.19.0'
// https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple
// https://mvnrepository.com/artifact/io.qameta.allure/allure-testng
implementation group: 'io.qameta.allure', name: 'allure-testng', version: '2.18.1'
// https://mvnrepository.com/artifact/org.slf4j/log4j-over-slf4j
implementation group: 'org.slf4j', name: 'log4j-over-slf4j', version: '2.0.6'
}
test {
if(project.hasProperty("username") && project.hasProperty("password")) {
systemProperties.put("username", project.property("username"))
systemProperties.put("password", project.property("password"))
}
useTestNG() {
suites "/src/test/resources/test.xml"
}
}