Skip to content

Commit aa5be1e

Browse files
committed
Remove conditional check for disabling japicmp in otlp
The version is not determined correctly in release builds from tags. It ends up being `1.10.0-SNAPSHOT` for instance, when doing a patch release of 1.9.x. We could probably rework the release process to avoid this issue, but this change is less risky given we are trying to do a release now. Workaround due to problem described in gh-3408
1 parent 134dca6 commit aa5be1e

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

implementations/micrometer-registry-otlp/build.gradle

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ dependencies {
99
testImplementation project(':micrometer-test')
1010
}
1111

12-
// new module in 1.9. This can be removed in later branches.
13-
if ("$project.version".startsWith("1.9.")) {
14-
japicmp.enabled = false
15-
downloadBaseline.enabled = false
16-
}
12+
// new module in 1.9. This should be removed in later branches.
13+
japicmp.enabled = false
14+
downloadBaseline.enabled = false

0 commit comments

Comments
 (0)