From: Manish Khettry Date: Sun, 22 Apr 2012 23:02:54 +0000 (-0700) Subject: Don't modify testListeners in the plugin itself. Make the user sweat it a bit :) X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fsbt-tap;a=commitdiff_plain;h=bab449453ab07b390c9846dfa0351df9ec202f60 Don't modify testListeners in the plugin itself. Make the user sweat it a bit :) --- 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 } /**