File tree 8 files changed +11
-13
lines changed
main/scala/de/johoop/jacoco4sbt
jacocoIntegrationTest/project
play-multi-project-jacoco/project
8 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).enablePlugins(BuildInfoPlugin).settings(
2
2
3
3
name := " jacoco4sbt" ,
4
4
organization := " de.johoop" ,
5
- version := " 2.2.0-SNAPSHOT " ,
5
+ version := " 2.2.0" ,
6
6
scalaVersion := " 2.10.6" ,
7
7
8
8
sbtPlugin := true ,
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ This is an [sbt](http://scala-sbt.org/) and [Typesafe Activator](https://typesaf
4
4
5
5
Install the plugin by adding the following to ` project/plugins.sbt ` :
6
6
7
- addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.1.6 ")
7
+ addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.2.0 ")
8
8
9
9
and then in ` build.sbt ` :
10
10
Original file line number Diff line number Diff line change 1
1
/*
2
2
* This file is part of jacoco4sbt.
3
3
*
4
- * Copyright (c) 2011-2013 Joachim Hofer & contributors
4
+ * Copyright (c) Joachim Hofer & contributors
5
5
* All rights reserved.
6
6
*
7
7
* This program and the accompanying materials
@@ -114,7 +114,7 @@ object JacocoPlugin extends Plugin {
114
114
definedTests <<= definedTests in srcConfig,
115
115
definedTestNames <<= definedTestNames in srcConfig,
116
116
cover <<= report dependsOn check,
117
- aggregateCover <<= aggregateReport dependsOn ( submoduleCoverTasks) ,
117
+ aggregateCover <<= aggregateReport dependsOn submoduleCoverTasks,
118
118
check <<= ((executionDataFile, fork, streams) map saveDataAction) dependsOn test))
119
119
}
120
120
}
Original file line number Diff line number Diff line change 1
1
/*
2
2
* This file is part of jacoco4sbt.
3
3
*
4
- * Copyright (c) 2011-2013 Joachim Hofer & contributors
4
+ * Copyright (c) Joachim Hofer & contributors
5
5
* All rights reserved.
6
6
*
7
7
* This program and the accompanying materials
12
12
package de .johoop .jacoco4sbt
13
13
14
14
import sbt ._
15
- import Keys ._
16
- import org .jacoco .core .runtime .IRuntime
17
15
18
16
trait Keys {
19
- lazy val Config = config(" jacoco" ) extend( Test ) hide
17
+ lazy val Config = config(" jacoco" ) extend Test hide
20
18
21
19
lazy val outputDirectory = SettingKey [File ](" output-directory" , " Where JaCoCo should store its execution data and reports." )
22
20
lazy val aggregateReportDirectory = SettingKey [File ](" aggregate-report-directory" , " Where JaCoCo should store its aggregate reports." )
@@ -57,7 +55,7 @@ trait Keys {
57
55
}
58
56
59
57
trait IntegrationTestKeys extends Keys {
60
- override lazy val Config = config(" it-jacoco" ) extend( IntegrationTest ) hide
58
+ override lazy val Config = config(" it-jacoco" ) extend IntegrationTest hide
61
59
62
60
lazy val merge = TaskKey [Unit ](" merge" , " Merges all '*.exec' files into a single data file." )
63
61
lazy val mergeReports = SettingKey [Boolean ](" merge-reports" , " Indication whether to merge the unittest and integration test reports. Defaults to true." )
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" de.johoop" % " jacoco4sbt" % " 2.2.0-SNAPSHOT " )
1
+ addSbtPlugin(" de.johoop" % " jacoco4sbt" % " 2.2.0" )
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" de.johoop" % " jacoco4sbt" % " 2.2.0-SNAPSHOT " )
1
+ addSbtPlugin(" de.johoop" % " jacoco4sbt" % " 2.2.0" )
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" de.johoop" % " jacoco4sbt" % " 2.2.0-SNAPSHOT " )
1
+ addSbtPlugin(" de.johoop" % " jacoco4sbt" % " 2.2.0" )
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/release
7
7
// Use the Play sbt plugin for Play projects
8
8
addSbtPlugin(" com.typesafe.play" % " sbt-plugin" % " 2.2.1" )
9
9
10
- addSbtPlugin(" de.johoop" % " jacoco4sbt" % " 2.2.0-SNAPSHOT " )
10
+ addSbtPlugin(" de.johoop" % " jacoco4sbt" % " 2.2.0" )
You can’t perform that action at this time.
0 commit comments