Help out Intellij (#3595)
This commit is contained in:
parent
409471543e
commit
344e205720
|
@ -8,3 +8,9 @@ plugins {
|
|||
extra["mavenGroupId"] = "io.opentelemetry.javaagent.instrumentation"
|
||||
|
||||
base.archivesName.set(projectDir.parentFile.name)
|
||||
|
||||
dependencies {
|
||||
// this only exists to make Intellij happy since it doesn't (currently at least) understand our
|
||||
// inclusion of this artifact inside of :instrumentation-api
|
||||
compileOnly(project(":instrumentation-api-caching"))
|
||||
}
|
||||
|
|
|
@ -9,3 +9,9 @@ plugins {
|
|||
extra["mavenGroupId"] = "io.opentelemetry.instrumentation"
|
||||
|
||||
base.archivesName.set(projectDir.parentFile.name)
|
||||
|
||||
dependencies {
|
||||
// this only exists to make Intellij happy since it doesn't (currently at least) understand our
|
||||
// inclusion of this artifact inside of :instrumentation-api
|
||||
compileOnly(project(":instrumentation-api-caching"))
|
||||
}
|
||||
|
|
|
@ -29,6 +29,10 @@ dependencies {
|
|||
compileOnly(project(":javaagent-instrumentation-api"))
|
||||
implementation(project(":javaagent-tooling"))
|
||||
implementation(project(":javaagent-extension-api"))
|
||||
|
||||
// this only exists to make Intellij happy since it doesn't (currently at least) understand our
|
||||
// inclusion of this artifact inside of :instrumentation-api
|
||||
compileOnly(project(":instrumentation-api-caching"))
|
||||
}
|
||||
|
||||
configurations {
|
||||
|
|
|
@ -52,6 +52,10 @@ dependencies {
|
|||
testImplementation("io.grpc:grpc-api:1.30.2")
|
||||
testImplementation("io.grpc:grpc-netty-shaded:1.30.2")
|
||||
testImplementation(project(":instrumentation-api-annotation-support"))
|
||||
|
||||
// this only exists to make Intellij happy since it doesn't (currently at least) understand our
|
||||
// inclusion of this artifact inside of :instrumentation-api
|
||||
compileOnly(project(":instrumentation-api-caching"))
|
||||
}
|
||||
|
||||
tasks.compileTestJava {
|
||||
|
|
|
@ -12,4 +12,8 @@ dependencies {
|
|||
testImplementation(project(":testing-common"))
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
|
||||
// this only exists to make Intellij happy since it doesn't (currently at least) understand our
|
||||
// inclusion of this artifact inside of :instrumentation-api
|
||||
compileOnly(project(":instrumentation-api-caching"))
|
||||
}
|
||||
|
|
|
@ -15,4 +15,8 @@ dependencies {
|
|||
|
||||
// metrics are unstable, do not expose as api
|
||||
implementation("io.opentelemetry:opentelemetry-sdk-metrics")
|
||||
|
||||
// this only exists to make Intellij happy since it doesn't (currently at least) understand our
|
||||
// inclusion of this artifact inside of :instrumentation-api
|
||||
compileOnly(project(":instrumentation-api-caching"))
|
||||
}
|
||||
|
|
|
@ -18,4 +18,8 @@ dependencies {
|
|||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.mockito:mockito-junit-jupiter")
|
||||
testImplementation("org.assertj:assertj-core")
|
||||
|
||||
// this only exists to make Intellij happy since it doesn't (currently at least) understand our
|
||||
// inclusion of this artifact inside of :instrumentation-api
|
||||
compileOnly(project(":instrumentation-api-caching"))
|
||||
}
|
||||
|
|
|
@ -38,6 +38,10 @@ dependencies {
|
|||
testImplementation("org.assertj:assertj-core")
|
||||
testImplementation("org.mockito:mockito-core")
|
||||
testImplementation("org.mockito:mockito-junit-jupiter")
|
||||
|
||||
// this only exists to make Intellij happy since it doesn't (currently at least) understand our
|
||||
// inclusion of this artifact inside of :instrumentation-api
|
||||
compileOnly(project(":instrumentation-api-caching"))
|
||||
}
|
||||
|
||||
// Here we only include autoconfigure but don"t include OTLP exporters to ensure they are only in
|
||||
|
|
Loading…
Reference in New Issue