Skip to content

Commit

Permalink
Update to latest JMH (#147)
Browse files Browse the repository at this point in the history
* Clean up of docs

* Update version of dependencies
  • Loading branch information
plokhotnyuk authored and ktoso committed May 5, 2018
1 parent 26a0172 commit cabe738
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ The latest published plugin version is: [![Download](https://api.bintray.com/pac

| Plugin version | JMH version & other information |
| -------------------------------- |:-------------------------------------:|
| `0.3.3` (sbt 13.16 / sbt 1.0) | `1.19`, JMH bugfix release |
| `0.3.4` (sbt 13.17 / sbt 1.1.4) | `1.21`, support of GraalVM |
| `0.3.3` (sbt 13.17 / sbt 1.1.1) | `1.20`, JMH bugfix release |
| `0.3.2` (sbt 13.16 / sbt 1.0) | `1.19`, minor bugfix release |
| `0.3.1` (sbt 13.16 / sbt 1.0) | `1.19`, minor bugfix release |
| `0.3.0` (sbt 13.16 / sbt 1.0) | `1.19`, async profiler, flame-graphs |
Expand All @@ -42,7 +43,7 @@ your project is to add the below line to your `project/plugins.sbt` file:

```scala
// project/plugins.sbt
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.3.3")
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.3.4")
```

and enable it in the projects where you want to (useful in multi-project builds, as you can enable it only where you need it):
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ val jmhVersion = {
val commonSettings = Seq(
organization := "pl.project13.scala",

crossSbtVersions := Vector("0.13.17", "1.1.1"),
crossSbtVersions := Vector("0.13.17", "1.1.4"),

scalacOptions ++= List(
"-unchecked",
Expand Down Expand Up @@ -110,7 +110,7 @@ lazy val extras = project
.settings(sonatypeSettings: _*)
.settings(
name := "sbt-jmh-extras",
scalaVersion := "2.12.2",
scalaVersion := "2.12.6",
autoScalaLibrary := false, // it is plain Java
crossPaths := false // it is plain Java
)
4 changes: 2 additions & 2 deletions plugin/src/main/resources/sbt-jmh.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
jmh.version=1.20
extras.version=0.3.3
jmh.version=1.21
extras.version=0.3.4-SNAPSHOT
2 changes: 1 addition & 1 deletion sbt-jmh-tester/build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
scalaVersion := "2.12.2"
scalaVersion := "2.12.6"

enablePlugins(JmhPlugin)
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "0.3.3"
version in ThisBuild := "0.3.4-SNAPSHOT"

0 comments on commit cabe738

Please sign in to comment.