bump modules and plugins

This commit is contained in:
Eugene Yokota 2017-12-15 14:02:31 -05:00
parent 02c2ab5203
commit 68356306ec
8 changed files with 10 additions and 12 deletions

View File

@ -55,6 +55,7 @@ lazy val lmRoot = (project in file("."))
},
bintrayPackage := "librarymanagement",
scalafmtOnCompile := true,
scalafmtOnCompile in Sbt := false,
scalafmtVersion := "1.2.0",
git.baseVersion := baseVersion,
version := {

View File

@ -11,7 +11,7 @@ abstract class CrossVersion() extends Serializable {
override def equals(o: Any): Boolean = o match {
case x: CrossVersion => true
case _: CrossVersion => true
case _ => false
}
override def hashCode: Int = {

View File

@ -10,7 +10,7 @@ final class Disabled private () extends sbt.librarymanagement.CrossVersion() wit
override def equals(o: Any): Boolean = o match {
case x: Disabled => true
case _: Disabled => true
case _ => false
}
override def hashCode: Int = {

View File

@ -13,7 +13,7 @@ final class Patch private () extends sbt.librarymanagement.CrossVersion() with S
override def equals(o: Any): Boolean = o match {
case x: Patch => true
case _: Patch => true
case _ => false
}
override def hashCode: Int = {

View File

@ -10,7 +10,7 @@ abstract class SshAuthentication() extends Serializable {
override def equals(o: Any): Boolean = o match {
case x: SshAuthentication => true
case _: SshAuthentication => true
case _ => false
}
override def hashCode: Int = {

View File

@ -21,8 +21,7 @@ final class RichUpdateReport(report: UpdateReport) {
// which do not actually exist, so getModifiedTime() correctly throws an exception. For the moment, the behavior of
// lastModified() is reproduced, but the non-existent file should really not be there to begin with. so, FIXME.
try IO.getModifiedTime(f)
catch { case _: FileNotFoundException => 0L }
)
catch { case _: FileNotFoundException => 0L })
)
.toMap
UpdateReport(report.cachedDescriptor, report.configurations, report.stats, stamps)

View File

@ -6,8 +6,8 @@ object Dependencies {
val scala211 = "2.11.12"
val scala212 = "2.12.4"
private val ioVersion = "1.0.2"
private val utilVersion = "1.0.3"
private val ioVersion = "1.1.2"
private val utilVersion = "1.1.1"
private val sbtIO = "org.scala-sbt" %% "io" % ioVersion

View File

@ -1,6 +1,4 @@
addSbtPlugin("org.scala-sbt" % "sbt-houserules" % "0.3.3")
addSbtPlugin("org.scala-sbt" % "sbt-contraband" % "0.3.0")
addSbtPlugin("com.lucidchart" % "sbt-scalafmt" % "1.10")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.17")
addSbtPlugin("org.scala-sbt" % "sbt-houserules" % "0.3.4")
addSbtPlugin("org.scala-sbt" % "sbt-contraband" % "0.3.2")
scalacOptions += "-language:postfixOps"