From bab449453ab07b390c9846dfa0351df9ec202f60 Mon Sep 17 00:00:00 2001 From: Manish Khettry Date: Sun, 22 Apr 2012 16:02:54 -0700 Subject: [PATCH] Don't modify testListeners in the plugin itself. Make the user sweat it a bit :) --- src/main/scala/SbtTapReporting.scala | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/scala/SbtTapReporting.scala b/src/main/scala/SbtTapReporting.scala index 2524bda..c6e0068 100644 --- a/src/main/scala/SbtTapReporting.scala +++ b/src/main/scala/SbtTapReporting.scala @@ -1,16 +1,11 @@ -package sbttap - import sbt._ import org.scalatools.testing.{Event => TEvent, Result => TResult} -import Keys._ import java.util.concurrent.atomic.AtomicInteger import java.io.{File, FileWriter} object SbtTapReporting extends Plugin { - override def settings = Seq( - testListeners ++= Seq(new SbtTapListener) - ) + lazy val tapListener = new SbtTapListener } /** -- 2.45.2