Skip to content

Commit 7b77948

Browse files
committed
disable test task for instrumentation-annotations
1 parent 4a227fc commit 7b77948

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

instrumentation-annotations/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,10 @@ group = "io.opentelemetry.instrumentation"
1111
dependencies {
1212
api("io.opentelemetry:opentelemetry-api")
1313
}
14+
15+
tasks.test {
16+
// This module does not have tests, but has example classes in the test directory. Gradle 9 fails
17+
// the build when there are source files in the test directory but no tests to run so we disable
18+
// the test task.
19+
enabled = false
20+
}

0 commit comments

Comments
 (0)