{"action":"created","issue":{"url":"https://api.github.com/repos/scoverage/gradle-scoverage/issues/37","labels_url":"https://api.github.com/repos/scoverage/gradle-scoverage/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/scoverage/gradle-scoverage/issues/37/comments","events_url":"https://api.github.com/repos/scoverage/gradle-scoverage/issues/37/events","html_url":"https://github.com/scoverage/gradle-scoverage/pull/37","id":57013619,"number":37,"title":"Updating report task to be on par with sbt plugin","user":{"login":"Kwestor","id":3084180,"avatar_url":"https://avatars.githubusercontent.com/u/3084180?v=3","gravatar_id":"","url":"https://api.github.com/users/Kwestor","html_url":"https://github.com/Kwestor","followers_url":"https://api.github.com/users/Kwestor/followers","following_url":"https://api.github.com/users/Kwestor/following{/other_user}","gists_url":"https://api.github.com/users/Kwestor/gists{/gist_id}","starred_url":"https://api.github.com/users/Kwestor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kwestor/subscriptions","organizations_url":"https://api.github.com/users/Kwestor/orgs","repos_url":"https://api.github.com/users/Kwestor/repos","events_url":"https://api.github.com/users/Kwestor/events{/privacy}","received_events_url":"https://api.github.com/users/Kwestor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-02-09T10:36:29Z","updated_at":"2015-04-15T13:56:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scoverage/gradle-scoverage/pulls/37","html_url":"https://github.com/scoverage/gradle-scoverage/pull/37","diff_url":"https://github.com/scoverage/gradle-scoverage/pull/37.diff","patch_url":"https://github.com/scoverage/gradle-scoverage/pull/37.patch"},"body":"In sbt-scoverage plugin, report task is much more detailed. This commit\r\nupdates gradle version of report task to be on par with it's sbt\r\ncounterpart.\r\n\r\nUpdated version of task brings 4 new configuration parameters:\r\n\r\n - coverageOutputCobertura\r\n - coverageOutputXML\r\n - coverageOutputHTML\r\n - coverageDebug\r\n\r\nAll could be used to enable/disable different outputs. All but last one\r\ndefaults to true. Readme is updated with this information.\r\n\r\nCode in `ScoverageWriter.java` is re-written from sbt-scoverage and\r\nconverted to Java. It could be moved to scalac-scoverage-runtime to be\r\nused by all plugins. It's not inlined in `SingleReportApp.java` because\r\nit'll be used also in ScoverageAggregate task (in next PR).\r\n\r\nIf there is no test data in project report task now only issues a warning\r\nand not crash (it's important for multi-project setups without test\r\ncode/code to test in some sub-projects).\r\n\r\n\r\nDisclaimer required by the lawyers (it's covered by Apache 2, but they want me to include it in PR description):\r\n\r\nTHE FOLLOWING DISCLAIMER APPLIES TO ALL SOFTWARE CODE AND OTHER MATERIALS CONTRIBUTED IN CONNECTION WITH THIS SOFTWARE:\r\nTHIS SOFTWARE IS LICENSED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY WARRANTY OF NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THIS SOFTWARE MAY BE REDISTRIBUTED TO OTHERS ONLY BY EFFECTIVELY USING THIS OR ANOTHER EQUIVALENT DISCLAIMER IN ADDITION TO ANY OTHER REQUIRED LICENSE TERMS.\r\nONLY THE SOFTWARE CODE AND OTHER MATERIALS CONTRIBUTED IN CONNECTION WITH THIS SOFTWARE, IF ANY, THAT ARE ATTACHED TO (OR OTHERWISE ACCOMPANY) THIS SUBMISSION (AND ORDINARY COURSE CONTRIBUTIONS OF FUTURES PATCHES THERETO) ARE TO BE CONSIDERED A CONTRIBUTION. NO OTHER SOFTWARE CODE OR MATERIALS ARE A CONTRIBUTION."},"comment":{"url":"https://api.github.com/repos/scoverage/gradle-scoverage/issues/comments/93410985","html_url":"https://github.com/scoverage/gradle-scoverage/pull/37#issuecomment-93410985","issue_url":"https://api.github.com/repos/scoverage/gradle-scoverage/issues/37","id":93410985,"user":{"login":"Kwestor","id":3084180,"avatar_url":"https://avatars.githubusercontent.com/u/3084180?v=3","gravatar_id":"","url":"https://api.github.com/users/Kwestor","html_url":"https://github.com/Kwestor","followers_url":"https://api.github.com/users/Kwestor/followers","following_url":"https://api.github.com/users/Kwestor/following{/other_user}","gists_url":"https://api.github.com/users/Kwestor/gists{/gist_id}","starred_url":"https://api.github.com/users/Kwestor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kwestor/subscriptions","organizations_url":"https://api.github.com/users/Kwestor/orgs","repos_url":"https://api.github.com/users/Kwestor/repos","events_url":"https://api.github.com/users/Kwestor/events{/privacy}","received_events_url":"https://api.github.com/users/Kwestor/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T13:56:54Z","updated_at":"2015-04-15T13:56:54Z","body":"Concerning #41 I can wait, two others are more important to me."}}