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
43 lines (36 loc) · 1.24 KB
/
build.gradle.kts
File metadata and controls
43 lines (36 loc) · 1.24 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
39
40
41
42
43
description = "Allure Java Migration Utils"
val agent by configurations.creating
val junitVersion = "4.12"
val testNgVersion = "6.14.3"
dependencies {
agent("org.aspectj:aspectjweaver")
compile("org.apache.commons:commons-lang3")
compile("org.aspectj:aspectjrt")
compile(project(":allure-java-commons"))
compileOnly("junit:junit:$junitVersion")
compileOnly("org.testng:testng:$testNgVersion")
testCompile("io.github.glytching:junit-extensions")
testCompile("junit:junit:$junitVersion")
testCompile("org.assertj:assertj-core")
testCompile("org.junit.jupiter:junit-jupiter-api")
testCompile("org.junit.jupiter:junit-jupiter-params")
testCompile("org.mockito:mockito-core")
testCompile("org.slf4j:slf4j-simple")
testCompile("org.testng:testng:$testNgVersion")
testCompile(project(":allure-java-commons-test"))
testCompile(project(":allure-junit-platform"))
testRuntime("org.junit.jupiter:junit-jupiter-engine")
}
tasks.named<Jar>("jar") {
manifest {
attributes(mapOf(
"Automatic-Module-Name" to "io.qameta.allure.migration"
))
}
}
tasks.named<Test>("test") {
useJUnitPlatform()
doFirst {
jvmArgs("-javaagent:${agent.singleFile}")
}
}