Improve Eclipse default settings

This always includes Javadoc and fixes a couple of deprecation warnings.
This commit is contained in:
Sarah Gerweck 2016-09-25 17:19:26 -07:00
parent 4ddfba5d40
commit 6d101e0a3b

View File

@ -8,10 +8,10 @@ object EclipseDefaults extends AutoPlugin {
override def trigger = allRequirements override def trigger = allRequirements
override lazy val buildSettings = Seq( override lazy val buildSettings = Seq(
EclipseKeys.createSrc := EclipseCreateSrc.Default + EclipseCreateSrc.Resource, EclipseKeys.createSrc := EclipseCreateSrc.Default,
EclipseKeys.projectFlavor := EclipseProjectFlavor.Scala, EclipseKeys.projectFlavor := EclipseProjectFlavor.ScalaIDE,
EclipseKeys.executionEnvironment := Some(EclipseExecutionEnvironment.JavaSE18), EclipseKeys.executionEnvironment := Some(EclipseExecutionEnvironment.JavaSE18),
EclipseKeys.withSource := true, EclipseKeys.withSource := true,
EclipseKeys.eclipseOutput := Some("target/scala-2.11/classes") EclipseKeys.withJavadoc := true
) )
} }