=pro make samples optional

This commit is contained in:
Martynas Mickevicius 2014-12-03 16:40:59 +01:00
parent 4346a03f96
commit 74934c0b5c
2 changed files with 17 additions and 3 deletions

View file

@ -0,0 +1,13 @@
package akka
object CommandLineOptions {
/**
* Aggregated sample builds are transformed by swapping library dependencies to project ones.
* This does work play well with dbuild and breaks scala community build. Therefore it was made
* optional.
*
* Default: true
*/
val aggregateSamples = sys.props.getOrElse("akka.build.aggregateSamples", "true") == "true"
}