Skip to content

Commit

Permalink
Remove an unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed Dec 12, 2023
1 parent 2023d3e commit a5e6ddd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import sbt.contraband.ContrabandPlugin.autoImport._

object Dependencies {
// WARNING: Please Scala update versions in PluginCross.scala too
val scala212 = "2.12.17"
val scala212 = "2.12.18"
val scala213 = "2.13.8"
val scala3 = "3.3.1"
val checkPluginCross = settingKey[Unit]("Make sure scalaVersion match up")
Expand Down
18 changes: 9 additions & 9 deletions project/HouseRulesPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ object HouseRulesPlugin extends AutoPlugin {
scalacOptions += "-language:implicitConversions",
scalacOptions ++= "-Xfuture".ifScala213OrMinus.value.toList,
scalacOptions += "-Xlint",
scalacOptions ++= "-Xfatal-warnings"
.ifScala(v => {
sys.props.get("sbt.build.fatal") match {
case Some(_) => java.lang.Boolean.getBoolean("sbt.build.fatal")
case _ => v == 12
}
})
.value
.toList,
// scalacOptions ++= "-Xfatal-warnings"
// .ifScala(v => {
// sys.props.get("sbt.build.fatal") match {
// case Some(_) => java.lang.Boolean.getBoolean("sbt.build.fatal")
// case _ => v == 12
// }
// })
// .value
// .toList,
scalacOptions ++= "-Ykind-projector".ifScala3.value.toList,
scalacOptions ++= "-Ysemanticdb".ifScala3.value.toList,
scalacOptions ++= "-Yinline-warnings".ifScala211OrMinus.value.toList,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

package sbt.util

import sjsonnew.{ BasicJsonProtocol, IsoString, IsoStringLong, JsonFormat }
import sjsonnew.{ BasicJsonProtocol, IsoString, JsonFormat }
import xsbti.{ HashedVirtualFileRef, VirtualFileRef }

trait BasicCacheImplicits { self: BasicJsonProtocol =>
Expand Down

0 comments on commit a5e6ddd

Please sign in to comment.