Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lazy val commonSettings = Seq(
- organization := "com.bluedme",
- version := "2.8.9",
- scalaVersion := "2.11.7"
- )
- lazy val s3Settings = Seq(
- buildInfoKeys += version,
- buildInfoPackage := "build",
- awsProfile := Build.awsProfile,
- s3region := new AwsProfileRegionProvider(Build.awsProfile),
- s3acl := CannedAccessControlList.PublicRead,
- s3overwrite := true,
- publishMavenStyle := false,
- publishTo := {
- val prefix = if (isSnapshot.value) "snapshots" else "releases"
- Some(s3resolver
- .value(s"$prefix s3 bucket", s3("dex-deps/" + prefix + ".mvn-repo.bluedme.com")) withIvyPatterns)
- }
- )
- lazy val `common-core` = (project in file("common-core"))
- .settings(commonSettings, s3Settings)
- .enablePlugins(BuildInfoPlugin)
- lazy val `server-core` = (project in file("server-core"))
- .settings(commonSettings, s3Settings)
- .enablePlugins(PlayScala)
- .enablePlugins(BuildInfoPlugin)
- .dependsOn(`common-core` % "test->test;compile->compile")
- .aggregate(`common-core`)
- ...
- lazy val root = (project in file("."))
- .settings(commonSettings)
- .aggregate(`common-core`, `server-core`, `woda-core`, `connectors-core`, `quality-score`)
Add Comment
Please, Sign In to add comment