Browse Source

Help intellij find classes from armeria-shaded-for-testing (#3985)

Lauri Tulmin 3 years ago
parent
commit
be95048e60
1 changed files with 7 additions and 0 deletions
  1. 7 0
      instrumentation/build.gradle.kts

+ 7 - 0
instrumentation/build.gradle.kts

@@ -10,6 +10,13 @@ subprojects {
     instrumentationProjectTest.configure {
       dependsOn(subProj.tasks.named("test"))
     }
+
+    // this only exists to make Intellij happy since it doesn't (currently at least) understand our
+    // inclusion of this artifact inside :testing-common
+    dependencies {
+      compileOnly(project(path = ":testing:armeria-shaded-for-testing", configuration = "shadow"))
+      testCompileOnly(project(path = ":testing:armeria-shaded-for-testing", configuration = "shadow"))
+    }
   }
 }