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