-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle.kts
58 lines (48 loc) · 1.39 KB
/
build.gradle.kts
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
import org.gradle.api.tasks.testing.logging.TestLogEvent
plugins {
java
id("io.qameta.allure") version "2.9.4"
}
group = "io.eroshenkoam"
version = version
allure {
report {
version.set("2.18.1")
}
adapter {
autoconfigure.set(true)
aspectjWeaver.set(true)
frameworks {
junit5 {
adapterVersion.set("2.18.1")
}
}
}
}
tasks.withType(JavaCompile::class) {
sourceCompatibility = "${JavaVersion.VERSION_1_8}"
targetCompatibility = "${JavaVersion.VERSION_1_8}"
options.encoding = "UTF-8"
}
tasks.withType(Test::class) {
ignoreFailures = true
useJUnitPlatform {
}
systemProperty("junit.jupiter.execution.parallel.enabled", "true")
systemProperty("junit.jupiter.execution.parallel.config.strategy", "dynamic")
systemProperty("junit.jupiter.extensions.autodetection.enabled", "true")
testLogging {
setEvents(listOf(TestLogEvent.FAILED, TestLogEvent.SKIPPED, TestLogEvent.PASSED))
}
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
implementation("commons-io:commons-io:2.6")
implementation("io.qameta.allure:allure-java-commons:2.28.0")
implementation("org.junit.jupiter:junit-jupiter-api:5.7.2")
implementation("org.junit.jupiter:junit-jupiter-engine:5.7.2")
implementation("org.junit.jupiter:junit-jupiter-params:5.7.2")
}