Created
December 28, 2017 14:40
-
-
Save danslapman/2a8b15cde8ad04f856c5b42af1526edd to your computer and use it in GitHub Desktop.
sbt config scope
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name := "sbt-scopes" | |
version := "0.1" | |
scalaVersion := "2.12.4" | |
lazy val Probe = config("probe").intransitive | |
.extend(Compile) | |
.describedAs("Probe configuration") | |
lazy val `sbt-scopes` = | |
(project in file("")) | |
.configs(Probe) | |
.settings( | |
inConfig(Probe)(Defaults.compileSettings), | |
scalaSource in Probe := baseDirectory.value / "src" / "probe" / "scala" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment