-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (49 loc) · 1.37 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
plugins {
id 'java'
id 'maven-publish'
id 'io.qameta.allure' version '2.8.1'
}
configurations {
testCompile
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
test {
useTestNG() {
useDefaultListeners = true
suites 'src/test/suites/smoke.xml'
systemProperty 'token', System.getProperty('token')
systemProperty 'url', System.getProperty('url')
systemProperty 'github-token', System.getProperty('github-token')
}
}
allure {
def allureVersion = '2.13.8'
version = allureVersion
autoconfigure = true
aspectjweaver = true
aspectjVersion = '1.9.7'
allureJavaVersion = '2.13.8'
resultsDir = file('../allure-results')
useTestNG {
version = allureVersion
}
}
dependencies {
implementation group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.30'
implementation group: 'org.aspectj', name: 'aspectjweaver', version: '1.9.7'
implementation 'org.testng:testng:7.4.0'
implementation 'com.codeborne:selenide:5.22.2'
implementation 'io.qameta.allure:allure-selenide:2.13.8'
implementation 'io.qameta.allure:allure-java-commons:2.13.8'
implementation 'org.seleniumhq.selenium:selenium-java:3.141.59'
implementation 'io.rest-assured:rest-assured:4.4.0'
}