forked from qa-guru/allure-notifications
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
62 lines (53 loc) · 1.74 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
plugins {
id 'java-library'
}
group 'allure.notifications'
version '4.3.0'
java {
sourceCompatibility = 1.8
}
repositories {
mavenCentral()
}
dependencies {
def lombok = '1.18.28'
def slf4j = '2.0.7'
annotationProcessor("org.projectlombok:lombok:$lombok")
compileOnly("org.projectlombok:lombok:$lombok")
implementation("org.slf4j:slf4j-log4j12:$slf4j") // SLF4J binding for Log4J 1.2
implementation("org.slf4j:jul-to-slf4j:$slf4j") // Java Util Logging -> SLF4J
implementation("org.slf4j:jcl-over-slf4j:$slf4j") // commons-logging -> SLF4J
implementation('com.sun.mail:jakarta.mail:1.6.7')
implementation('com.konghq:unirest-java:3.14.5')
implementation('org.freemarker:freemarker:2.3.32')
implementation('org.knowm.xchart:xchart:3.8.5')
implementation('com.jayway.jsonpath:json-path:2.8.0')
implementation('commons-io:commons-io:2.13.0')
implementation('org.apache.commons:commons-lang3:3.13.0')
testImplementation('org.junit.jupiter:junit-jupiter:5.10.0')
testImplementation('org.springframework:spring-test:5.3.29') {
exclude module: 'spring-jcl' // Use jcl-over-slf4j bridge instead
}
testImplementation('org.mockito:mockito-junit-jupiter:4.11.0')
}
configurations.all {
exclude module: 'commons-logging' // Use jcl-over-slf4j bridge instead
}
tasks.withType(JavaCompile) {
System.getProperties()
options.encoding = 'UTF-8'
}
tasks.named('test') {
useJUnitPlatform()
}
jar {
manifest {
attributes(
'Main-Class': 'guru.qa.allure.notifications.Application'
)
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
duplicatesStrategy = DuplicatesStrategy.WARN
}