Skip to content

Commit

Permalink
adding filter 6.6 in the build scan listener
Browse files Browse the repository at this point in the history
  • Loading branch information
cdsap committed Aug 21, 2020
1 parent cbb48ae commit ff97316
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ class GradleScanLinkMetric : BuildResultMetric<String?>(
val services = gradleInternal.services

when {
GradleVersion.current() > GradleVersion.version("5.0") -> {
GradleVersion.current() > GradleVersion.version("5.0")
&& GradleVersion.current() < GradleVersion.version("6.6") -> {
services.get(
DefaultBuildScanEndOfBuildNotifier::class.java
) as DefaultBuildScanEndOfBuildNotifier
Expand Down

0 comments on commit ff97316

Please sign in to comment.