Skip to content

Commit

Permalink
Merge pull request #201 from cdsap/gradle_6.6_build_scan_listener
Browse files Browse the repository at this point in the history
adding filter 6.6 in the build scan listener
  • Loading branch information
cdsap authored Aug 21, 2020
2 parents 2a1f96c + ff97316 commit a5ab9a3
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 a5ab9a3

Please sign in to comment.