In our multi-project codebase, we use Maven as the basis for building.
However, we have a module based on the Play platform, for which we must use SBT build.
In Maven projects, we manage dependencyManagement with another project called "version" and include it in pom.xml as follows.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.xxxx.release</groupId>
<artifactId>xxxx-version</artifactId>
<version>${project.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
This provides the correct version of dependency cans for a particular assembly.
Is there a way to achieve the same with SBT?
source
share