123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- plugins {
- id("otel.java-conventions")
- id("org.springframework.boot") version "3.3.0"
- id("org.graalvm.buildtools.native")
- }
- description = "smoke-tests-otel-starter-spring-boot-reactive-3"
- otelJava {
- minJavaVersionSupported.set(JavaVersion.VERSION_17)
- }
- dependencies
- implementation(project(":instrumentation:spring:starters:spring-boot-starter"))
- implementation(platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
- implementation(project(":smoke-tests-otel-starter:spring-boot-reactive-common"))
- implementation("org.springframework.boot:spring-boot-starter-webflux")
- implementation("org.springframework.boot:spring-boot-starter-data-r2dbc")
- runtimeOnly("com.h2database:h2")
- runtimeOnly("io.r2dbc:r2dbc-h2")
- testImplementation("org.springframework.boot:spring-boot-starter-test")
- testImplementation("io.projectreactor:reactor-test")
- }
- springBoot
- mainClass
- }
- tasks
- compileAotJava
- with(options)
- compilerArgs.add("-Xlint:-deprecation,-unchecked,none")
-
-
- }
- }
- compileAotTestJava
- with(options)
- compilerArgs.add("-Xlint:-deprecation,-unchecked,none")
-
-
- }
- }
- checkstyleAot
- isEnabled
- }
- checkstyleAotTest
- isEnabled
- }
- }
- configurations.configureEach
- exclude("org.apache.groovy", "groovy")
- exclude("org.apache.groovy", "groovy-json")
- exclude("org.spockframework", "spock-core")
- }
- graalvmNative
- binaries.all
-
- buildArgs.add("--initialize-at-build-time=org.junit.platform.launcher.core.LauncherConfig")
- buildArgs.add("--initialize-at-build-time=org.junit.jupiter.engine.config.InstantiatingConfigurationParameterConverter")
- }
-
- metadataRepository
- enabled.set(false)
- }
- tasks.test
- useJUnitPlatform()
- setForkEvery(1)
- }
- }
|