Skip to content

Commit

Permalink
add artifactregistry handler for coursier
Browse files Browse the repository at this point in the history
  • Loading branch information
rolang committed Feb 23, 2024
1 parent 1d1ca88 commit e2fe75b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ lazy val core = myCrossProject("core")
Dependencies.commonsIo,
Dependencies.coursierCore,
Dependencies.coursierSbtMaven,
"dev.rolang" %% "gar-coursier" % "0.1.0",
Dependencies.cron4sCore,
Dependencies.decline,
Dependencies.fs2Core,
Expand Down Expand Up @@ -228,7 +229,7 @@ lazy val core = myCrossProject("core")
val outFile = outDir / s"StewardPlugin_$v.scala"
if (!outFile.exists()) {
val u =
s"https://raw.githubusercontent.com/scala-steward-org/sbt-plugin/main/modules/sbt-plugin-$v/src/main/scala/org/scalasteward/sbt/plugin/StewardPlugin_$v.scala"
s"https://raw.githubusercontent.com/rolang/-scala-steward-sbt-plugin/main/modules/sbt-plugin-$v/src/main/scala/org/scalasteward/sbt/plugin/StewardPlugin_$v.scala"
val content = scala.util.Using(scala.io.Source.fromURL(u))(_.mkString).get
IO.write(outFile, content)
}
Expand Down

0 comments on commit e2fe75b

Please sign in to comment.