Skip to content

Commit 24e92b2

Browse files
authored
Fix jApiCmp CI check (#6577)
1 parent 23aff05 commit 24e92b2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

conventions/src/main/kotlin/otel.japicmp-conventions.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ if (project.findProperty("otel.stable") == "true") {
9898
?: file("$rootDir/docs/apidiffs/current_vs_$baseVersionString/${base.archivesName.get()}.txt")
9999
)
100100
}
101-
// have the check task depend on the api comparison task, to make it more likely it will get used.
102-
named("check") {
103-
dependsOn(jApiCmp)
101+
// have the jApiCmp task run every time the jar task is run, to make it more likely it will get used.
102+
named("jar") {
103+
finalizedBy(jApiCmp)
104104
}
105105
}
106106
}

0 commit comments

Comments
 (0)