Skip to content

Commit

Permalink
refactor(build): generic raw-labs GHCR resolver (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
datYori authored Oct 7, 2024
1 parent 6a803be commit a08f260
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ lazy val commonSettings = Seq(
headerSources / excludeFilter := HiddenFileFilter,
// Use cached resolution of dependencies
// http://www.scala-sbt.org/0.13/docs/Cached-Resolution.html
updateOptions := updateOptions.in(Global).value.withCachedResolution(true),
resolvers ++= Seq(Resolver.mavenLocal),
resolvers ++= Resolver.sonatypeOssRepos("snapshots"),
resolvers ++= Resolver.sonatypeOssRepos("releases")
updateOptions := updateOptions.in(Global).value.withCachedResolution(true)
)

lazy val buildSettings = Seq(
Expand Down Expand Up @@ -138,7 +135,7 @@ lazy val root = (project in file("."))
"com.typesafe" % "config" % "1.4.2",
// Utilities
"com.google.guava" % "guava" % "32.1.3-jre",
"org.scala-lang.modules" %% "scala-java8-compat" % "1.0.2",
"org.scala-lang.modules" %% "scala-java8-compat" % "1.0.2",
"commons-io" % "commons-io" % "2.11.0",
"org.apache.commons" % "commons-text" % "1.11.0",
// Required while we are on Scala 2.12.
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.12.0")

addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.0.1")

resolvers += "RAW Labs GitHub Packages" at "https://maven.pkg.github.com/raw-labs/sbt-module-patcher"
resolvers += "RAW Labs GitHub Packages" at "https://maven.pkg.github.com/raw-labs/_"

ThisBuild / credentials += Credentials(
"GitHub Package Registry",
Expand Down

0 comments on commit a08f260

Please sign in to comment.