Skip to content

Commit

Permalink
Merge branch 'main' into update/non_aws
Browse files Browse the repository at this point in the history
  • Loading branch information
StepanBrychta authored Oct 3, 2024
2 parents 7b28e61 + 02739ad commit 18e2c5a
Showing 1 changed file with 50 additions and 56 deletions.
106 changes: 50 additions & 56 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
@@ -1,87 +1,81 @@
import sbt._

object WellcomeDependencies {
val defaultVersion = "32.42.1" // This is automatically bumped by the scala-libs release process, do not edit this line manually

lazy val versions = new {
val fixtures = defaultVersion
val http = defaultVersion
val json = defaultVersion
val elasticsearch = defaultVersion
val messaging = defaultVersion
val monitoring = defaultVersion
val storage = defaultVersion
val typesafe = defaultVersion
val typesafe = "32.42.1"
val fixtures = "32.42.1"
val http = "32.42.1"
val json = "32.42.1"
val messaging = "32.42.1"
val monitoring = "32.42.1"
val storage = "32.42.1"
val elasticsearch = "32.42.1"
val sierra = "32.42.1"
}

val jsonLibrary: Seq[ModuleID] = library(
name = "json",
version = versions.json
val jsonLibrary: Seq[ModuleID] = Seq(
"org.wellcomecollection" %% "json" % versions.json,
"org.wellcomecollection" %% "json" % versions.json % "test" classifier "tests"
)

val fixturesLibrary: Seq[ModuleID] = library(
name = "fixtures",
version = versions.fixtures
val fixturesLibrary: Seq[ModuleID] = Seq(
"org.wellcomecollection" %% "fixtures" % versions.fixtures,
"org.wellcomecollection" %% "fixtures" % versions.fixtures % "test" classifier "tests"
)

val elasticsearchLibrary: Seq[ModuleID] = library(
name = "elasticsearch",
version = versions.elasticsearch
val messagingLibrary: Seq[ModuleID] = Seq(
"org.wellcomecollection" %% "messaging" % versions.messaging,
"org.wellcomecollection" %% "messaging" % versions.messaging % "test" classifier "tests"
)

val messagingLibrary: Seq[ModuleID] = library(
name = "messaging",
version = versions.messaging
val elasticsearchLibrary: Seq[ModuleID] = Seq(
"org.wellcomecollection" %% "elasticsearch" % versions.elasticsearch,
"org.wellcomecollection" %% "elasticsearch" % versions.elasticsearch % "test" classifier "tests"
)

val monitoringLibrary: Seq[ModuleID] = library(
name = "monitoring",
version = versions.monitoring
val elasticsearchTypesafeLibrary: Seq[ModuleID] = Seq(
"org.wellcomecollection" %% "elasticsearch_typesafe" % versions.elasticsearch,
"org.wellcomecollection" %% "elasticsearch_typesafe" % versions.elasticsearch % "test" classifier "tests"
)

val storageLibrary: Seq[ModuleID] = library(
name = "storage",
version = versions.storage
val httpLibrary: Seq[ModuleID] = Seq(
"org.wellcomecollection" %% "http" % versions.http,
"org.wellcomecollection" %% "http" % versions.http % "test" classifier "tests"
)

val httpLibrary: Seq[ModuleID] = library(
name = "http",
version = versions.http
val httpTypesafeLibrary: Seq[ModuleID] = Seq(
"org.wellcomecollection" %% "http_typesafe" % versions.http,
"org.wellcomecollection" %% "http_typesafe" % versions.http % "test" classifier "tests"
)

val httpTypesafeLibrary: Seq[ModuleID] = library(
name = "http_typesafe",
version = versions.http
val monitoringLibrary: Seq[ModuleID] = Seq(
"org.wellcomecollection" %% "monitoring" % versions.monitoring,
"org.wellcomecollection" %% "monitoring" % versions.monitoring % "test" classifier "tests"
)

val typesafeLibrary: Seq[ModuleID] = library(
name = "typesafe_app",
version = versions.typesafe
) ++ fixturesLibrary

val monitoringTypesafeLibrary: Seq[ModuleID] = library(
name = "monitoring_typesafe",
version = versions.monitoring
val monitoringTypesafeLibrary: Seq[ModuleID] = monitoringLibrary ++ Seq(
"org.wellcomecollection" %% "monitoring_typesafe" % versions.monitoring,
"org.wellcomecollection" %% "monitoring_typesafe" % versions.monitoring % "test" classifier "tests"
)

val elasticsearchTypesafeLibrary: Seq[ModuleID] = library(
name = "elasticsearch_typesafe",
version = versions.elasticsearch
val storageLibrary: Seq[ModuleID] = Seq(
"org.wellcomecollection" %% "storage" % versions.storage,
"org.wellcomecollection" %% "storage" % versions.storage % "test" classifier "tests"
)

val messagingTypesafeLibrary: Seq[ModuleID] = library(
name = "messaging_typesafe",
version = versions.messaging
)
val typesafeLibrary: Seq[ModuleID] = Seq(
"org.wellcomecollection" %% "typesafe_app" % versions.typesafe,
"org.wellcomecollection" %% "typesafe_app" % versions.typesafe % "test" classifier "tests"
) ++ fixturesLibrary

val storageTypesafeLibrary: Seq[ModuleID] = library(
name = "storage_typesafe",
version = versions.storage
)
val messagingTypesafeLibrary: Seq[ModuleID] = messagingLibrary ++ Seq(
"org.wellcomecollection" %% "messaging_typesafe" % versions.messaging,
"org.wellcomecollection" %% "messaging_typesafe" % versions.messaging % "test" classifier "tests"
) ++ monitoringLibrary

private def library(name: String, version: String): Seq[ModuleID] = Seq(
"org.wellcomecollection" %% name % version,
"org.wellcomecollection" %% name % version % "test" classifier "tests"
val storageTypesafeLibrary: Seq[ModuleID] = storageLibrary ++ Seq(
"org.wellcomecollection" %% "storage_typesafe" % versions.storage,
"org.wellcomecollection" %% "storage_typesafe" % versions.storage % "test" classifier "tests"
)
}

Expand Down

0 comments on commit 18e2c5a

Please sign in to comment.