Skip to content

Commit

Permalink
add common lib
Browse files Browse the repository at this point in the history
  • Loading branch information
kenoir committed Dec 19, 2024
1 parent 14a47a4 commit 0c41a8f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ lazy val display_model = setupProject(
externalDependencies = CatalogueDependencies.displayModelDependencies
)

lazy val lambda = setupProject(
project,
"common/lambda",
externalDependencies = CatalogueDependencies.lambdaDependencies
)

lazy val flows = setupProject(
project,
"common/flows",
Expand Down
5 changes: 5 additions & 0 deletions common/lambda/src/main/scala/weco/lambda/Foo.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package weco.lambda

trait Foo {

}
6 changes: 6 additions & 0 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,12 @@ object CatalogueDependencies {
val flowDependencies: Seq[ModuleID] =
WellcomeDependencies.typesafeLibrary

val lambdaDependencies: Seq[ModuleID] =
WellcomeDependencies.typesafeLibrary ++
ExternalDependencies.awsLambdaClient ++
ExternalDependencies.awsLambdaEvents ++
ExternalDependencies.uPickle

val sourceModelDependencies: Seq[sbt.ModuleID] =
WellcomeDependencies.storageLibrary ++
WellcomeDependencies.fixturesLibrary ++
Expand Down

0 comments on commit 0c41a8f

Please sign in to comment.