Skip to content

Commit

Permalink
Remove old dependency version for Scala 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lolgab committed Nov 16, 2023
1 parent b112ec5 commit 09ac3e4
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,10 @@ object Deps {
val sourcecode = ivy"com.lihaoyi::sourcecode:0.3.0"
val sshdCore = ivy"org.apache.sshd:sshd-core:1.2.0"
val scalametaCommon = ivy"org.scalameta::common:$scalametaVersion"
def typename(sv: String) = {
val ver =
if (sv.startsWith("3.1")) "1.0.0"
else "1.1.0"
ivy"org.tpolecat::typename:$ver"
}
val typename = ivy"org.tpolecat::typename:1.1.0"
def upickle(sv: String) = {
val ver =
if (sv.startsWith("3.2")) "3.1.0"
if (sv.startsWith("3.2.")) "3.1.0"
else "3.1.3"
ivy"com.lihaoyi::upickle:$ver"
}
Expand Down Expand Up @@ -294,7 +289,7 @@ object amm extends Cross[MainModule](fullCrossScalaVersions:_*){
def ivyDeps = T{
super.ivyDeps() ++ Agg(
Deps.osLib,
Deps.typename(crossScalaVersion),
Deps.typename,
Deps.scalaCollectionCompat,
Deps.fansi,
Deps.pprint
Expand Down

0 comments on commit 09ac3e4

Please sign in to comment.