From 65a6c47b2e03e6882d40db441d23c0f4255664ec Mon Sep 17 00:00:00 2001 From: Sarah Gerweck Date: Tue, 14 Apr 2015 21:32:55 -0700 Subject: [PATCH] Add project-main-class support. --- project/Build.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/project/Build.scala b/project/Build.scala index 3e73640..31b12a0 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -16,6 +16,7 @@ sealed trait Basics { final val extraScalaVersions = Seq.empty final val buildJavaVersion = "1.8" lazy val defaultOptimize = true + final val projectMainClass = None lazy val parallelBuild = false lazy val cachedResolution = false @@ -72,6 +73,7 @@ object BuildSettings extends Basics { val buildSettings = buildMetadata ++ siteSettings ++ + projectMainClass.toSeq.map(mainClass := Some(_)) ++ Seq ( organization := buildOrganization,