scalafx-utils/project/EclipseDefaults.scala
Sarah Gerweck 6d101e0a3b Improve Eclipse default settings
This always includes Javadoc and fixes a couple of deprecation warnings.
2016-09-25 17:19:34 -07:00

18 lines
606 B
Scala

import sbt._
import com.typesafe.sbteclipse.plugin.EclipsePlugin
import com.typesafe.sbteclipse.plugin.EclipsePlugin._
object EclipseDefaults extends AutoPlugin {
override def requires = EclipsePlugin
override def trigger = allRequirements
override lazy val buildSettings = Seq(
EclipseKeys.createSrc := EclipseCreateSrc.Default,
EclipseKeys.projectFlavor := EclipseProjectFlavor.ScalaIDE,
EclipseKeys.executionEnvironment := Some(EclipseExecutionEnvironment.JavaSE18),
EclipseKeys.withSource := true,
EclipseKeys.withJavadoc := true
)
}