Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

SOP-122 - Switch from CrossVersion.full to CrossVersion.patch #129

Merged
merged 1 commit into from
Apr 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Add the following line to `project/plugins.sbt`:

```scala
addSbtPlugin("com.47deg" % "sbt-org-policies" % "0.4.3")
addSbtPlugin("com.47deg" % "sbt-org-policies" % "0.4.4")
```

# Copyright
Expand Down
6 changes: 3 additions & 3 deletions src/main/scala/sbtorgpolicies/settings/AllSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ trait AllSettings
/** Using the supplied Versions map, adds the dependencies for scala macros.*/
lazy val scalaMacroDependencies: Seq[Setting[_]] = {
Seq(
libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value % "provided",
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value % "provided",
libraryDependencies += compilerPlugin(%%("paradise") cross CrossVersion.full),
libraryDependencies += scalaOrganization.value % "scala-compiler" % scalaVersion.value % "provided",
libraryDependencies += scalaOrganization.value % "scala-reflect" % scalaVersion.value % "provided",
libraryDependencies += compilerPlugin(%%("paradise") cross CrossVersion.patch),
libraryDependencies ++= {
CrossVersion.partialVersion(scalaVersion.value) match {
// if scala 2.11+ is used, quasiquotes are merged into scala-reflect
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "0.4.4-SNAPSHOT"
version in ThisBuild := "0.4.4"