Guest User

Untitled

a guest
Oct 20th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. lazy val commonSettings = Seq(
  2. organization := "com.bluedme",
  3. version := "2.8.9",
  4. scalaVersion := "2.11.7"
  5. )
  6.  
  7. lazy val s3Settings = Seq(
  8. buildInfoKeys += version,
  9. buildInfoPackage := "build",
  10. awsProfile := Build.awsProfile,
  11. s3region := new AwsProfileRegionProvider(Build.awsProfile),
  12. s3acl := CannedAccessControlList.PublicRead,
  13. s3overwrite := true,
  14. publishMavenStyle := false,
  15. publishTo := {
  16. val prefix = if (isSnapshot.value) "snapshots" else "releases"
  17. Some(s3resolver
  18. .value(s"$prefix s3 bucket", s3("dex-deps/" + prefix + ".mvn-repo.bluedme.com")) withIvyPatterns)
  19. }
  20. )
  21.  
  22. lazy val `common-core` = (project in file("common-core"))
  23. .settings(commonSettings, s3Settings)
  24. .enablePlugins(BuildInfoPlugin)
  25.  
  26. lazy val `server-core` = (project in file("server-core"))
  27. .settings(commonSettings, s3Settings)
  28. .enablePlugins(PlayScala)
  29. .enablePlugins(BuildInfoPlugin)
  30. .dependsOn(`common-core` % "test->test;compile->compile")
  31. .aggregate(`common-core`)
  32.  
  33. ...
  34.  
  35. lazy val root = (project in file("."))
  36. .settings(commonSettings)
  37. .aggregate(`common-core`, `server-core`, `woda-core`, `connectors-core`, `quality-score`)
Add Comment
Please, Sign In to add comment