Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 714 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 714 Bytes

sbt-multi-project-example

The goal of this example is to provide a multi-project build using sbt providing:

  • A single build.sbt file which allows for centralized configuration, dependency and build management
  • Each sub-project contains only its source code
  • Sub-projects can depend on other sub-projects

Example structure

  • sbt-multi-project-example/
    • common/
      • src/
      • test/
    • multi1/
      • src/
      • test/
    • multi2/
      • src/
      • test/
    • project/
      • build.properties
      • plugins.sbt
    • build.sbt

Compile projects: sbt multi1/compile , sbt multi2/compile, sbt common/compile

Test: sbt mult1/test, sbt multi2/test, sbt common/test