maiflai/gradle-scalatest — pull request #2 by jtzwu (2013-12-11 07:00:43+00:00)
Title: Use getDestination instead of getEntryPoint

The getHtml() is always a DirectoryReport, so instead of worrying about the entry point, we should be just using getDestination to get the appropriate directory and passing that to scalatest runner. This means we no longer get directories named index.html

Also, create the target directory before running the scalatest runner. Scalatest was crashing because the target directory was not present.