Cache snapshots to prevent overloading Apache Nexus repo

This commit is contained in:
Matthew de Detrich 2023-06-05 14:22:14 +02:00 committed by Matthew de Detrich
parent 008bdd5190
commit d78ea3ae65
2 changed files with 3 additions and 1 deletions

View file

@ -71,8 +71,9 @@ object Paradox {
"fault-tolerance-sample.html"))
val themeSettings = Seq(
// allow access to snapshots for pekko-sbt-paradox
// TODO: allow access to snapshots for pekko-sbt-paradox, remove when pekko is released
resolvers += Resolver.ApacheMavenSnapshotsRepo,
updateOptions := updateOptions.value.withLatestSnapshots(false),
pekkoParadoxGithub := Some("https://github.com/apache/incubator-pekko"))
// FIXME https://github.com/lightbend/paradox/issues/350

View file

@ -34,6 +34,7 @@ addSbtPlugin("com.github.sbt" % "sbt-license-report" % "1.5.0")
// allow access to snapshots for pekko-sbt-paradox
resolvers += Resolver.ApacheMavenSnapshotsRepo
updateOptions := updateOptions.value.withLatestSnapshots(false)
// We have to deliberately use older versions of sbt-paradox because current Pekko sbt build
// only loads on JDK 1.8 so we need to bring in older versions of parboiled which support JDK 1.8