scalafx-utils/project/EclipseDefaults.scala

18 lines
606 B
Scala
Raw Normal View History

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