Fix jApiCmp CI check (#6577)

This commit is contained in:
Trask Stalnaker 2022-09-12 08:38:44 -07:00 committed by GitHub
parent 23aff05722
commit 24e92b228c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -98,9 +98,9 @@ if (project.findProperty("otel.stable") == "true") {
?: file("$rootDir/docs/apidiffs/current_vs_$baseVersionString/${base.archivesName.get()}.txt")
)
}
// have the check task depend on the api comparison task, to make it more likely it will get used.
named("check") {
dependsOn(jApiCmp)
// have the jApiCmp task run every time the jar task is run, to make it more likely it will get used.
named("jar") {
finalizedBy(jApiCmp)
}
}
}