-
Notifications
You must be signed in to change notification settings - Fork 962
/
build.gradle
45 lines (34 loc) · 1.19 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
description 'Module containing Observation related code'
jar {
bundle {
bnd '''\
Import-Package: \
javax.servlet.*;resolution:=optional,\
io.micrometer.context.*;resolution:=optional,\
org.aspectj.*;resolution:=optional,\
*
'''.stripIndent()
}
}
dependencies {
api project(":micrometer-commons")
optionalApi 'io.micrometer:context-propagation'
// HttpServlet KeyValueProvider
optionalApi 'javax.servlet:javax.servlet-api'
// Aspects
optionalApi 'org.aspectj:aspectjweaver'
// log monitoring
testImplementation 'ch.qos.logback:logback-classic'
testImplementation 'org.apache.logging.log4j:log4j-core'
testImplementation project(':micrometer-observation-test')
testImplementation 'org.springframework:spring-context'
// JUnit 5
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation(libs.archunitJunit5) {
// avoid transitively pulling in slf4j 2
exclude group: "org.slf4j", module: "slf4j-api"
}
testImplementation libs.mockitoCore5
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.awaitility:awaitility'
}