Use ApacheMavenSnapshotsRepo constant

This commit is contained in:
Matthew de Detrich 2023-05-04 09:21:00 +02:00 committed by Matthew de Detrich
parent 97ae92191d
commit 31cb6043d4
3 changed files with 3 additions and 3 deletions

View file

@ -73,7 +73,7 @@ object Paradox {
val themeSettings = Seq(
// allow access to snapshots for pekko-sbt-paradox
resolvers += "Apache Nexus Snapshots".at("https://repository.apache.org/content/repositories/snapshots/"),
resolvers += Resolver.ApacheMavenSnapshotsRepo,
pekkoParadoxGithub := Some("https://github.com/apache/incubator-pekko"))
// FIXME https://github.com/lightbend/paradox/issues/350

View file

@ -1 +1 @@
sbt.version=1.8.2
sbt.version=1.9.0-RC1

View file

@ -24,7 +24,7 @@ addSbtPlugin("org.mdedetrich" % "sbt-apache-sonatype" % "0.1.6")
addSbtPlugin("com.github.reibitto" % "sbt-welcome" % "0.2.2")
// allow access to snapshots for pekko-sbt-paradox
resolvers += "Apache Nexus Snapshots".at("https://repository.apache.org/content/repositories/snapshots/")
resolvers += Resolver.ApacheMavenSnapshotsRepo
// 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