diff --git a/README.md b/README.md index 38e1bceb..c6d74245 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ To depend on scala-parallel-collections in sbt, add this to your `build.sbt`: ```scala libraryDependencies += - "org.scala-lang.modules" %% "scala-parallel-collections" % "1.0.0" + "org.scala-lang.modules" %% "scala-parallel-collections" % "1.0.1" ``` In your code, adding this import: @@ -46,7 +46,7 @@ libraryDependencies ++= { case Some((2, major)) if major <= 12 => Seq() case _ => - Seq("org.scala-lang.modules" %% "scala-parallel-collections" % "1.0.0") + Seq("org.scala-lang.modules" %% "scala-parallel-collections" % "1.0.1") } } ``` diff --git a/build.sbt b/build.sbt index 2109bdee..ace60ee8 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,9 @@ Global / cancelable := true publish / skip := true // in root +ThisBuild / versionScheme := Some("early-semver") +ThisBuild / versionPolicyIntention := Compatibility.BinaryAndSourceCompatible + lazy val commonSettings: Seq[Setting[_]] = ScalaModulePlugin.scalaModuleSettings ++ Seq( Compile / compile / scalacOptions --= (if (isDotty.value) Seq("-Xlint") diff --git a/build.sh b/build.sh index 23b4142e..3e1e4ad5 100755 --- a/build.sh +++ b/build.sh @@ -47,4 +47,4 @@ export CI_SNAPSHOT_RELEASE="${projectPrefix}publish" # for now, until we're confident in the new release scripts, just close the staging repo. export CI_SONATYPE_RELEASE="; sonatypePrepare; sonatypeBundleUpload; sonatypeClose" -sbt clean ${projectPrefix}test core/headerCheck ${projectPrefix}publishLocal $releaseTask +sbt clean ${projectPrefix}test core/versionPolicyCheck core/headerCheck ${projectPrefix}publishLocal $releaseTask diff --git a/project/plugins.sbt b/project/plugins.sbt index f8f5ccd7..e47c7d18 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,3 +1,3 @@ addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "2.2.4") +addSbtPlugin("ch.epfl.scala" % "sbt-version-policy" % "1.0.0-RC5") addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.5.3") -