1234567891011121314151617181920212223242526272829303132333435363738 |
- plugins {
- id("otel.library-instrumentation")
- }
- dependencies {
- implementation(project(":instrumentation-appender-api-internal"))
- implementation(project(":instrumentation-appender-sdk-internal"))
- // pin the version strictly to avoid overriding by dependencyManagement versions
- compileOnly("ch.qos.logback:logback-classic") {
- version {
- strictly("1.0.0")
- }
- }
- compileOnly("org.slf4j:slf4j-api") {
- version {
- strictly("1.6.4")
- }
- }
- if (findProperty("testLatestDeps") as Boolean) {
- testImplementation("ch.qos.logback:logback-classic:+")
- } else {
- testImplementation("ch.qos.logback:logback-classic") {
- version {
- strictly("1.0.0")
- }
- }
- testImplementation("org.slf4j:slf4j-api") {
- version {
- strictly("1.6.4")
- }
- }
- }
- testImplementation("io.opentelemetry:opentelemetry-sdk-logs")
- testImplementation("io.opentelemetry:opentelemetry-sdk-testing")
- }
|