dbuild is a build and debugging tool based on sbt.
It is used to coordinate the development of multiple, independent projects that evolve in parallel: dbuild uses a multi-project definition file to build all the requested projects, and makes sure that they all work together, even though each of them may evolve independently.
You can find the complete dbuild documentation at the dbuild web site.
To create a dbuild release (if you belong to the Typesafe organization on Bintray):
- Type "release" (please do not use "^publish", as some additional preparation is necessary)
- Check https://bintray.com/typesafe/ivy-releases/dbuild/view to ensure files are as expected (Optional)
- Type "root/bintrayRelease" to make the release public
DO NOT try to push snapshots to Bintray; instead, add your custom version suffix if necessary. The documentation pages on the dbuild website must be published separately (but only for final releases).
If you are not part of the Typesafe organization on Bintray, use:
set every bintrayOrganization := None
to publish to "ivy-releases/dbuild" in your own Bintray repository (or to a different repository by changing the settings described in the bintray-sbt plugin documentation pages).
If you would like to publish instead to Artifactory, for instance if you you need to publish dbuild snapshots, or if you do not have an account on Bintray yet, you can use:
set every publishTo := Some(Resolver.url("somelabel", new URL("http://artifactoryhost/artifactory/repository/"))(Resolver.ivyStylePatterns)) set every credentials := Seq(Credentials(Path.userHome / "some" / "path" / "credentials-file"))
Then, proceed with "release" as usual to issue the snapshot to your Artifactory server.
IMPORTANT: the publishing process needs to be repeated twice, changing project/build.properties in the meantime, in order to publish artifacts for both sbt 0.13/scala 2.10 and sbt 1.0/scala 2.11 (currently 1.0.0-M4) All the artifacts are published for 2.10, while only those relevant to the sbt plugin are published for 2.11.