-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (44 loc) · 1.16 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
plugins {
id 'java-library'
id 'io.qameta.allure' version '2.8.1'
}
repositories {
mavenCentral()
}
def allureversion = '2.15.0',
selenideVersion = '5.25.0-selenium-4.0.0',
junitVersion = '5.8.1'
allure {
version = allureversion
autoconfigure = true
aspectjweaver = true
configuration = "testImplementation"
useJUnit5 {
version = allureversion
}
}
dependencies {
testImplementation(
"org.aspectj:aspectjweaver:1.9.7",
"com.codeborne:selenide:$selenideVersion",
"io.qameta.allure:allure-selenide:$allureversion",
"com.github.javafaker:javafaker:1.0.2",
"org.junit.jupiter:junit-jupiter:$junitVersion")
testRuntimeOnly(
"org.slf4j:slf4j-simple:1.7.29",
"org.junit.jupiter:junit-jupiter-engine:$junitVersion"
)
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks.withType(Test) {
useJUnitPlatform()
testLogging {
lifecycle {
// events "started", "failed"
events "started", "skipped", "failed", "standard_error", "standard_out"
exceptionFormat "short"
}
}
}