-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
38 lines (31 loc) · 1.5 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
plugins {
id("otel.library-instrumentation")
}
dependencies {
compileOnly("com.google.auto.value:auto-value-annotations")
annotationProcessor("com.google.auto.value:auto-value")
library("org.springframework.integration:spring-integration-core:4.1.0.RELEASE")
testImplementation(project(":instrumentation:spring:spring-integration-4.1:testing"))
testLibrary("org.springframework.boot:spring-boot-starter-test:1.5.22.RELEASE")
testLibrary("org.springframework.boot:spring-boot-starter:1.5.22.RELEASE")
testLibrary("org.springframework.cloud:spring-cloud-stream:2.2.1.RELEASE")
testLibrary("org.springframework.cloud:spring-cloud-stream-binder-rabbit:2.2.1.RELEASE")
latestDepTestLibrary("org.springframework.integration:spring-integration-core:5.+")
latestDepTestLibrary("org.springframework.boot:spring-boot-starter-test:2.+")
latestDepTestLibrary("org.springframework.boot:spring-boot-starter:2.+")
latestDepTestLibrary("org.springframework.cloud:spring-cloud-stream:3.+")
latestDepTestLibrary("org.springframework.cloud:spring-cloud-stream-binder-rabbit:3.+")
}
tasks {
withType<Test>().configureEach {
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].service)
}
}
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")
}
}