Skip to content

Commit

Permalink
Update to 2.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joachim Hofer committed Jun 26, 2016
1 parent 0cb6b4f commit cd67a62
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).enablePlugins(BuildInfoPlugin).settings(

name := "jacoco4sbt",
organization := "de.johoop",
version := "2.2.0-SNAPSHOT",
version := "2.2.0",
scalaVersion := "2.10.6",

sbtPlugin := true,
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is an [sbt](http://scala-sbt.org/) and [Typesafe Activator](https://typesaf

Install the plugin by adding the following to `project/plugins.sbt`:

addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.1.6")
addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.2.0")

and then in `build.sbt`:

Expand Down
4 changes: 2 additions & 2 deletions src/main/scala/de/johoop/jacoco4sbt/JacocoPlugin.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of jacoco4sbt.
*
* Copyright (c) 2011-2013 Joachim Hofer & contributors
* Copyright (c) Joachim Hofer & contributors
* All rights reserved.
*
* This program and the accompanying materials
Expand Down Expand Up @@ -114,7 +114,7 @@ object JacocoPlugin extends Plugin {
definedTests <<= definedTests in srcConfig,
definedTestNames <<= definedTestNames in srcConfig,
cover <<= report dependsOn check,
aggregateCover <<= aggregateReport dependsOn (submoduleCoverTasks),
aggregateCover <<= aggregateReport dependsOn submoduleCoverTasks,
check <<= ((executionDataFile, fork, streams) map saveDataAction) dependsOn test))
}
}
8 changes: 3 additions & 5 deletions src/main/scala/de/johoop/jacoco4sbt/Keys.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of jacoco4sbt.
*
* Copyright (c) 2011-2013 Joachim Hofer & contributors
* Copyright (c) Joachim Hofer & contributors
* All rights reserved.
*
* This program and the accompanying materials
Expand All @@ -12,11 +12,9 @@
package de.johoop.jacoco4sbt

import sbt._
import Keys._
import org.jacoco.core.runtime.IRuntime

trait Keys {
lazy val Config = config("jacoco") extend(Test) hide
lazy val Config = config("jacoco") extend Test hide

lazy val outputDirectory = SettingKey[File]("output-directory", "Where JaCoCo should store its execution data and reports.")
lazy val aggregateReportDirectory = SettingKey[File]("aggregate-report-directory", "Where JaCoCo should store its aggregate reports.")
Expand Down Expand Up @@ -57,7 +55,7 @@ trait Keys {
}

trait IntegrationTestKeys extends Keys {
override lazy val Config = config("it-jacoco") extend(IntegrationTest) hide
override lazy val Config = config("it-jacoco") extend IntegrationTest hide

lazy val merge = TaskKey[Unit]("merge", "Merges all '*.exec' files into a single data file.")
lazy val mergeReports = SettingKey[Boolean]("merge-reports", "Indication whether to merge the unittest and integration test reports. Defaults to true.")
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.2.0-SNAPSHOT")
addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.2.0")
2 changes: 1 addition & 1 deletion src/test/resources/jacocoTest/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.2.0-SNAPSHOT")
addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.2.0")
2 changes: 1 addition & 1 deletion src/test/resources/jacocoTestForked/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.2.0-SNAPSHOT")
addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.2.0")
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/release
// Use the Play sbt plugin for Play projects
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2.1")

addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.2.0-SNAPSHOT")
addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.2.0")

0 comments on commit cd67a62

Please sign in to comment.