fix spring smoke test build (#11330)

This commit is contained in:
Gregor Zeitlinger 2024-05-10 12:48:18 +02:00 committed by GitHub
parent 35b5c5a4a4
commit 0d0f9d44c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,5 @@
import org.springframework.boot.gradle.tasks.bundling.BootJar
plugins {
id("otel.java-conventions")
id("org.springframework.boot") version "2.7.18"
@ -18,3 +20,7 @@ dependencies {
implementation("io.opentelemetry:opentelemetry-extension-trace-propagators")
implementation(project(":instrumentation:spring:starters:spring-boot-starter"))
}
tasks.withType<BootJar> {
enabled = false
}

View File

@ -1,3 +1,5 @@
import org.springframework.boot.gradle.tasks.bundling.BootJar
plugins {
id("otel.java-conventions")
id("org.springframework.boot") version "2.7.18"
@ -13,3 +15,7 @@ dependencies {
compileOnly("org.springframework.boot:spring-boot-starter-test")
api(project(":smoke-tests-otel-starter:spring-smoke-testing"))
}
tasks.withType<BootJar> {
enabled = false
}

View File

@ -1,3 +1,5 @@
import org.springframework.boot.gradle.tasks.bundling.BootJar
plugins {
id("otel.java-conventions")
id("org.springframework.boot") version "2.7.18"
@ -14,3 +16,7 @@ dependencies {
api(project(":instrumentation:spring:spring-boot-autoconfigure"))
api("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure-spi")
}
tasks.withType<BootJar> {
enabled = false
}