Skip to content

Commit

Permalink
add sonatype snapshots repo for test chisel releases (#3527)
Browse files Browse the repository at this point in the history
  • Loading branch information
sequencer authored Nov 15, 2023
1 parent 5087e53 commit 180e4bc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ object v {
val mainargs = ivy"com.lihaoyi::mainargs:0.5.0"
val json4sJackson = ivy"org.json4s::json4s-jackson:4.0.5"
val scalaReflect = ivy"org.scala-lang:scala-reflect:${scala}"
val sonatypesSnapshots = Seq(
MavenRepository("https://s01.oss.sonatype.org/content/repositories/snapshots")
)
}

object macros extends Macros
Expand Down Expand Up @@ -47,6 +50,8 @@ trait Hardfloat
def chiselIvy = Some(v.chiselCrossVersions(crossValue)._1)

def chiselPluginIvy = Some(v.chiselCrossVersions(crossValue)._2)

def repositoriesTask = T.task(super.repositoriesTask() ++ v.sonatypesSnapshots)
}

object cde extends CDE
Expand Down Expand Up @@ -89,6 +94,8 @@ trait RocketChip
def mainargsIvy = v.mainargs

def json4sJacksonIvy = v.json4sJackson

def repositoriesTask = T.task(super.repositoriesTask() ++ v.sonatypesSnapshots)
}

trait RocketChipPublishModule
Expand Down

0 comments on commit 180e4bc

Please sign in to comment.