File tree Expand file tree Collapse file tree 3 files changed +10
-22
lines changed
spring-boot-reactive-common Expand file tree Collapse file tree 3 files changed +10
-22
lines changed Original file line number Diff line number Diff line change 1- import org.springframework.boot.gradle.tasks.bundling.BootJar
2-
31plugins {
42 id(" otel.java-conventions" )
5- id(" org.springframework.boot" ) version " 2.6.15"
63}
74
85description = " smoke-tests-otel-starter-spring-boot-common"
96
107dependencies {
118 // spring dependencies are compile only to enable testing against different versions of spring
12- compileOnly(platform(org.springframework.boot.gradle.plugin. SpringBootPlugin . BOM_COORDINATES ))
9+ compileOnly(platform(" org.springframework.boot:spring-boot-dependencies:2.6.15 " ))
1310 compileOnly(" org.springframework.boot:spring-boot-starter-web" )
1411 compileOnly(" org.springframework.boot:spring-boot-starter-test" )
1512 compileOnly(" org.springframework.boot:spring-boot-starter-data-jdbc" )
@@ -27,6 +24,11 @@ dependencies {
2724 implementation(project(" :instrumentation:spring:starters:spring-boot-starter" ))
2825}
2926
30- tasks.withType<BootJar > {
31- enabled = false
27+ tasks {
28+ compileJava {
29+ with (options) {
30+ // preserve parameter names for @SpanAttribute
31+ compilerArgs.add(" -parameters" )
32+ }
33+ }
3234}
Original file line number Diff line number Diff line change 1- import org.springframework.boot.gradle.tasks.bundling.BootJar
2-
31plugins {
42 id(" otel.java-conventions" )
5- id(" org.springframework.boot" ) version " 2.6.15"
63}
74
85description = " smoke-tests-otel-starter-spring-boot-reactive-common"
96
107dependencies {
118 // spring dependencies are compile only to enable testing against different versions of spring
12- compileOnly(platform(org.springframework.boot.gradle.plugin. SpringBootPlugin . BOM_COORDINATES ))
9+ compileOnly(platform(" org.springframework.boot:spring-boot-dependencies:2.6.15 " ))
1310 compileOnly(" org.springframework.boot:spring-boot-starter-web" )
1411 compileOnly(" org.springframework.boot:spring-boot-starter-webflux" )
1512 compileOnly(" org.springframework.boot:spring-boot-starter-test" )
1613 compileOnly(" org.springframework.boot:spring-boot-starter-data-r2dbc" )
1714 api(project(" :smoke-tests-otel-starter:spring-smoke-testing" ))
1815}
19-
20- tasks.withType<BootJar > {
21- enabled = false
22- }
Original file line number Diff line number Diff line change 1- import org.springframework.boot.gradle.tasks.bundling.BootJar
2-
31plugins {
42 id(" otel.java-conventions" )
5- id(" org.springframework.boot" ) version " 2.6.15"
63}
74
85description = " smoke-tests-otel-starter-spring-smoke-testing"
96
107dependencies {
118 // spring dependencies are compile only to enable testing against different versions of spring
12- compileOnly(platform(org.springframework.boot.gradle.plugin. SpringBootPlugin . BOM_COORDINATES ))
9+ compileOnly(platform(" org.springframework.boot:spring-boot-dependencies:2.6.15 " ))
1310 compileOnly(" org.springframework.boot:spring-boot-starter" )
1411 compileOnly(" org.springframework.boot:spring-boot-starter-test" )
1512 api(project(" :testing-common" ))
1613 api(" io.opentelemetry:opentelemetry-sdk-extension-autoconfigure-spi" )
1714 implementation(" com.google.guava:guava" )
1815}
19-
20- tasks.withType<BootJar > {
21- enabled = false
22- }
You can’t perform that action at this time.
0 commit comments