Add project-main-class support.
This commit is contained in:
parent
8bd3d58361
commit
65a6c47b2e
@ -16,6 +16,7 @@ sealed trait Basics {
|
|||||||
final val extraScalaVersions = Seq.empty
|
final val extraScalaVersions = Seq.empty
|
||||||
final val buildJavaVersion = "1.8"
|
final val buildJavaVersion = "1.8"
|
||||||
lazy val defaultOptimize = true
|
lazy val defaultOptimize = true
|
||||||
|
final val projectMainClass = None
|
||||||
|
|
||||||
lazy val parallelBuild = false
|
lazy val parallelBuild = false
|
||||||
lazy val cachedResolution = false
|
lazy val cachedResolution = false
|
||||||
@ -72,6 +73,7 @@ object BuildSettings extends Basics {
|
|||||||
|
|
||||||
val buildSettings = buildMetadata ++
|
val buildSettings = buildMetadata ++
|
||||||
siteSettings ++
|
siteSettings ++
|
||||||
|
projectMainClass.toSeq.map(mainClass := Some(_)) ++
|
||||||
Seq (
|
Seq (
|
||||||
organization := buildOrganization,
|
organization := buildOrganization,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user