Skip to content

Instantly share code, notes, and snippets.

@paulp paulp/build.sbt
Last active Oct 28, 2017

Embed
What would you like to do?
/** Your task is to reason your way to which compiler
* options which will be passed for each of
* 1) sbt root/compile
* 2) sbt p1/compile
*/
scalacOptions := Seq("-DSBT")
scalacOptions in ThisBuild += "-D0"
scalacOptions in Global += "-D1"
scalacOptions += "-D2"
scalacOptions in compile += "-D3"
scalacOptions in Compile += "-D4"
scalacOptions in p1 += "-D5"
scalacOptions in p1 in compile += "-D6"
scalacOptions in p1 in Compile += "-D7"
scalacOptions in Compile in compile += "-D8"
scalacOptions in p1 in Compile in compile += "-D9"
lazy val root = project in file(".")
lazy val p1 = project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.