Fix naming of muzzle tasks
`assertPass` property is always present because we set to a default value right in the constructor.
MODIFY
buildSrc/src/main/kotlin/io.opentelemetry.instrumentation.muzzle-check.gradle.kts
buildSrc/src/main/kotlin/io.opentelemetry.instrumentation.muzzle-check.gradle.kts
@@ -172,7 +172,7 @@ fun addMuzzleTask(muzzleDirective: MuzzleDirective, versionArtifact: Artifact?,
"muzzle-Assert${muzzleDirective}"
} else {
StringBuilder("muzzle-Assert").apply {
- if (muzzleDirective.assertPass.isPresent) {
+ if (muzzleDirective.assertPass.get()) {
append("Pass")
} else {
append("Fail")

Fix naming of muzzle tasks (#3589)

`assertPass` property is always present because we set to a default value right in the constructor.