I have tried to use some complex settings like:
try {
Class.forName("com.typesafe.sbteclipse.plugin.EclipsePlugin$EclipseKeys").getMethod("createSrc").invoke(null).asInstanceOf[SettingKey[_]] := ...
catch {
case e: Exception => Seq.empty : SettingsDefinition
}
I am still looking for a better solution.