Fix up the organization name and URL

This commit is contained in:
Sarah Gerweck 2015-08-11 12:35:25 -07:00
parent c2fd6f0b78
commit daf4da502a

View File

@ -10,16 +10,18 @@ import com.typesafe.sbteclipse.plugin.EclipsePlugin._
import Helpers._ import Helpers._
sealed trait Basics { sealed trait Basics {
final val buildOrganization = "org.gerweck.scalafx" final val buildOrganization = "org.gerweck.scalafx"
final val buildOrganizationName = "Sarah Gerweck"
final val buildOrganizationUrl = Some("https://github.com/sarahgerweck")
final val buildScalaVersion = "2.11.7" final val buildScalaVersion = "2.11.7"
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 final val projectMainClass = None
lazy val parallelBuild = false lazy val parallelBuild = false
lazy val cachedResolution = false lazy val cachedResolution = false
/* Metadata definitions */ /* Metadata definitions */
lazy val buildMetadata = Vector( lazy val buildMetadata = Vector(
@ -75,17 +77,19 @@ object BuildSettings extends Basics {
siteSettings ++ siteSettings ++
projectMainClass.toSeq.map(mainClass := Some(_)) ++ projectMainClass.toSeq.map(mainClass := Some(_)) ++
Seq ( Seq (
organization := buildOrganization, organization := buildOrganization,
organizationName := buildOrganizationName,
organizationHomepage := buildOrganizationUrl map { url _ },
scalaVersion := buildScalaVersion, scalaVersion := buildScalaVersion,
crossScalaVersions := buildScalaVersions, crossScalaVersions := buildScalaVersions,
scalacOptions ++= buildScalacOptions, scalacOptions ++= buildScalacOptions,
javacOptions ++= buildJavacOptions, javacOptions ++= buildJavacOptions,
autoAPIMappings := true, autoAPIMappings := true,
updateOptions := updateOptions.value.withCachedResolution(cachedResolution), updateOptions := updateOptions.value.withCachedResolution(cachedResolution),
parallelExecution := parallelBuild, parallelExecution := parallelBuild,
evictionWarningOptions in update := evictionWarningOptions in update :=
EvictionWarningOptions.default.withWarnTransitiveEvictions(false).withWarnDirectEvictions(false).withWarnScalaVersionEviction(false) EvictionWarningOptions.default.withWarnTransitiveEvictions(false).withWarnDirectEvictions(false).withWarnScalaVersionEviction(false)