-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
25 lines (21 loc) · 802 Bytes
/
build.gradle.kts
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
plugins {
id("otel.library-instrumentation")
}
val versions: Map<String, String> by project
val springBootVersion = versions["org.springframework.boot"]
dependencies {
compileOnly("org.springframework:spring-webmvc:5.3.0")
compileOnly("javax.servlet:javax.servlet-api:4.0.1")
testImplementation(project(":testing-common"))
testImplementation("org.springframework.boot:spring-boot-starter-web:$springBootVersion")
testImplementation("org.springframework.boot:spring-boot-starter-test:$springBootVersion") {
exclude("org.junit.vintage", "junit-vintage-engine")
}
}
configurations.testRuntimeClasspath {
resolutionStrategy {
// requires old logback (and therefore also old slf4j)
force("ch.qos.logback:logback-classic:1.2.11")
force("org.slf4j:slf4j-api:1.7.36")
}
}