Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ muzzle {
}
}

val latestDepTest = findProperty("testLatestDeps") as Boolean

dependencies {
library("org.springframework.pulsar:spring-pulsar:1.0.0")
implementation(project(":instrumentation:pulsar:pulsar-2.8:javaagent"))
Expand All @@ -23,12 +25,11 @@ dependencies {
testLibrary("org.springframework.boot:spring-boot-starter-test:3.2.4")
testLibrary("org.springframework.boot:spring-boot-starter:3.2.4")

// tests don't work with spring boot 4 yet
latestDepTestLibrary("org.springframework.boot:spring-boot-starter-test:3.+") // documented limitation
latestDepTestLibrary("org.springframework.boot:spring-boot-starter:3.+") // documented limitation
if (latestDepTest) {
testLibrary("org.springframework.boot:spring-boot-starter-pulsar:latest.release")
}
}

val latestDepTest = findProperty("testLatestDeps") as Boolean
val collectMetadata = findProperty("collectMetadata")?.toString() ?: "false"

testing {
Expand All @@ -38,9 +39,9 @@ testing {
implementation(project(":instrumentation:spring:spring-pulsar-1.0:testing"))

if (latestDepTest) {
implementation("org.springframework.pulsar:spring-pulsar:latest.release")
implementation("org.springframework.boot:spring-boot-starter-test:3.+")
implementation("org.springframework.boot:spring-boot-starter:3.+")
implementation("org.springframework.boot:spring-boot-starter-pulsar:latest.release")
implementation("org.springframework.boot:spring-boot-starter-test:latest.release")
implementation("org.springframework.boot:spring-boot-starter:latest.release")
} else {
implementation("org.springframework.pulsar:spring-pulsar:1.0.0")
implementation("org.springframework.boot:spring-boot-starter-test:3.2.4")
Expand Down
Loading