to allow other SBT projects to reference MMT as a subproject.
Devs of MMT can now just do:
Clone MMT/devel somewhere
Set up an empty SBT project somewhere else (!) with the following build.sbt:
import sbt.Keys.libraryDependencies
lazy val mmt = RootProject(file("<path-to-mmt-clone>/src"))
lazy val playground = Project(id = "playground", base = file(".")).settings(
name := "playground",
version := "0.1",
scalaVersion := "2.12.8",
scalacOptions in ThisBuild ++= Seq("-unchecked", "-deprecation"),
// Add further desired libraryDependencies here
// e.g. libraryDependencies += "org.jgrapht" % "jgrapht-core" % "1.3.0",
).dependsOn(mmt).aggregate(mmt)
// Deploy MMT JAR via simply "deploy" in the playground SBT shell.
to allow other SBT projects to reference MMT as a subproject.
Devs of MMT can now just do:
build.sbt
:This commit tremendously alleviates #442.