Skip to content

Commit

Permalink
The project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
lynxpluto committed Aug 11, 2020
1 parent e5ce2fd commit b077481
Show file tree
Hide file tree
Showing 38 changed files with 2,071 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea/

target/
44 changes: 44 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
organization in ThisBuild := "org.taymyr"
version in ThisBuild := "0.0.1-SNAPSHOT"

// the Scala version that will be used for cross-compiled libraries
scalaVersion in ThisBuild := "2.12.4"

val akkaVersion = "2.6.3"
val akka = "com.typesafe.akka" %% "akka-actor" % akkaVersion
val protobuf = "com.google.protobuf" % "protobuf-java" % "3.11.1"
val jacksonDataBind = "com.fasterxml.jackson.core" % "jackson-databind" % "2.10.3"

val akkaTestKit = "com.typesafe.akka" %% "akka-testkit" % akkaVersion % Test
val scalaTest = "org.scalatest" %% "scalatest" % "3.2.0" % "test"
val scalaTestWordSpec = "org.scalatest" %% "scalatest-wordspec" % "3.2.0" % "test"

lazy val `core` = (project in file ("core"))
.settings(commonSettings)
.settings(
libraryDependencies ++= Seq(
akka,
protobuf,
akkaTestKit,
scalaTest,
scalaTestWordSpec
)
)

lazy val `jackson` = (project in file("jackson"))
.settings(commonSettings)
.settings(libraryDependencies ++= Seq(
jacksonDataBind,
akkaTestKit,
scalaTest,
scalaTestWordSpec
))
.dependsOn(`core`)

lazy val `playjson` = (project in file("playjson"))
.settings(commonSettings)

lazy val `akka-gdpr` = (project in file("."))
.aggregate(`core`, `jackson`, `playjson`)

lazy val commonSettings = Seq()
Loading

0 comments on commit b077481

Please sign in to comment.