Skip to content

Commit

Permalink
Cache snapshots to prevent overloading Apache Nexus repo
Browse files Browse the repository at this point in the history
  • Loading branch information
mdedetrich committed Jun 5, 2023
1 parent a27fb48 commit 2c863b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sbt
Expand Up @@ -4,7 +4,9 @@ ThisBuild / apacheSonatypeProjectProfile := "pekko"
ThisBuild / versionScheme := Some(VersionScheme.SemVerSpec)
sourceDistName := "incubating-pekko-projection"

// TODO: Remove when Pekko has a proper release
ThisBuild / resolvers += Resolver.ApacheMavenSnapshotsRepo
ThisBuild / updateOptions := updateOptions.value.withLatestSnapshots(false)

lazy val core =
Project(id = "core", base = file("core"))
Expand Down
1 change: 1 addition & 0 deletions project/plugins.sbt
Expand Up @@ -9,6 +9,7 @@ addSbtPlugin("com.github.pjfanning" % "sbt-source-dist" % "0.1.5")
// Documentation
// 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
Expand Down

0 comments on commit 2c863b5

Please sign in to comment.