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
38 lines (34 loc) · 1.21 KB
/
build.gradle.kts
File metadata and controls
38 lines (34 loc) · 1.21 KB
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
description = "Allure Java Commons"
val agent: Configuration by configurations.creating
dependencies {
agent("org.aspectj:aspectjweaver")
api("org.slf4j:slf4j-api")
api(project(":allure-model"))
compileOnly("org.aspectj:aspectjrt")
implementation("com.fasterxml.jackson.core:jackson-databind")
implementation("org.apache.tika:tika-core")
implementation("org.jooq:joor-java-8")
testImplementation("io.github.benas:random-beans")
testImplementation("io.github.glytching:junit-extensions")
testImplementation("org.assertj:assertj-core")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.junit.jupiter:junit-jupiter-params")
testImplementation("org.mockito:mockito-core")
testImplementation("org.slf4j:slf4j-simple")
testImplementation(project(":allure-java-commons-test"))
testImplementation(project(":allure-junit-platform"))
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
}
tasks.jar {
manifest {
attributes(mapOf(
"Automatic-Module-Name" to "io.qameta.allure.commons"
))
}
}
tasks.test {
useJUnitPlatform()
doFirst {
jvmArgs("-javaagent:${agent.singleFile}")
}
}