forked from zebrunner/java-agent-testng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
45 lines (36 loc) · 1.08 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
plugins {
id "java-library"
}
group = 'com.zebrunner'
version = "${version != 'unspecified' ? version : '1.7.0'}"
ext.coreVersion = project.properties['core.version'] ?: '1.7.0'
sourceSets {
main {
if (project.hasProperty('pluggable')) {
resources {
exclude 'META-INF/services/org.testng.ITestNGListener'
}
}
}
}
repositories {
mavenCentral()
maven {
url "https://nexus.zebrunner.dev/repository/ce-snapshots/"
}
}
dependencies {
api("com.zebrunner:agent-core:${coreVersion}")
implementation("org.testng:testng:7.5")
implementation('com.google.code.gson:gson:2.9.0')
implementation('org.slf4j:slf4j-api:1.7.36')
annotationProcessor('org.projectlombok:lombok:1.18.24')
compileOnly("org.projectlombok:lombok:1.18.24")
testImplementation("org.mockito:mockito-core:4.6.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.2")
testImplementation("org.junit.jupiter:junit-jupiter-params:5.8.2")
}
apply from: 'publish-maven.gradle'
test {
useJUnitPlatform()
}