fix spring smoke test build (#11330)
This commit is contained in:
parent
35b5c5a4a4
commit
0d0f9d44c2
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue