forked from allure-framework/allure-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
32 lines (26 loc) · 818 Bytes
/
build.gradle.kts
File metadata and controls
32 lines (26 loc) · 818 Bytes
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
description = "Allure Model Integration"
val agent by configurations.creating
dependencies {
agent("org.aspectj:aspectjweaver")
compile("com.fasterxml.jackson.core:jackson-databind")
testCompile("io.github.benas:random-beans")
testCompile("org.assertj:assertj-core")
testCompile("org.junit-pioneer:junit-pioneer")
testCompile("org.junit.jupiter:junit-jupiter-api")
testCompile("org.mockito:mockito-core")
testCompile("org.slf4j:slf4j-simple")
testRuntime("org.junit.jupiter:junit-jupiter-engine")
}
tasks.named<Jar>("jar") {
manifest {
attributes(mapOf(
"Automatic-Module-Name" to "io.qameta.allure.model"
))
}
}
tasks.named<Test>("test") {
useJUnitPlatform()
doFirst {
jvmArgs("-javaagent:${agent.singleFile}")
}
}