{"action":"closed","issue":{"url":"https://api.github.com/repos/ensime/ensime-sbt/issues/194","repository_url":"https://api.github.com/repos/ensime/ensime-sbt","labels_url":"https://api.github.com/repos/ensime/ensime-sbt/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/ensime/ensime-sbt/issues/194/comments","events_url":"https://api.github.com/repos/ensime/ensime-sbt/issues/194/events","html_url":"https://github.com/ensime/ensime-sbt/issues/194","id":152736394,"number":194,"title":"Some keys were defined with the same name but different types: 'compileOnly' (Boolean, sbt.InputTask[Unit])","user":{"login":"bfil","id":660513,"avatar_url":"https://avatars.githubusercontent.com/u/660513?v=3","gravatar_id":"","url":"https://api.github.com/users/bfil","html_url":"https://github.com/bfil","followers_url":"https://api.github.com/users/bfil/followers","following_url":"https://api.github.com/users/bfil/following{/other_user}","gists_url":"https://api.github.com/users/bfil/gists{/gist_id}","starred_url":"https://api.github.com/users/bfil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfil/subscriptions","organizations_url":"https://api.github.com/users/bfil/orgs","repos_url":"https://api.github.com/users/bfil/repos","events_url":"https://api.github.com/users/bfil/events{/privacy}","received_events_url":"https://api.github.com/users/bfil/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-03T09:46:12Z","updated_at":"2016-05-03T10:23:43Z","closed_at":"2016-05-03T10:23:43Z","body":"Just upgraded from `ensime-sbt` version `0.4.0` to `sbt-ensime` `0.5.0` and I'm getting the following error:\r\n\r\n```\r\njava.lang.RuntimeException: Some keys were defined with the same name but different types: 'compileOnly' (Boolean, sbt.InputTask[Unit])\r\n\tat scala.sys.package$.error(package.scala:27)\r\n\tat sbt.Index$.stringToKeyMap0(EvaluateConfigurations.scala:296)\r\n\tat sbt.Index$.stringToKeyMap(EvaluateConfigurations.scala:287)\r\n\tat sbt.Load$.structureIndex(Load.scala:190)\r\n\tat sbt.Load$.apply(Load.scala:147)\r\n\tat sbt.Load$.defaultLoad(Load.scala:36)\r\n\tat sbt.BuiltinCommands$.liftedTree1$1(Main.scala:492)\r\n\tat sbt.BuiltinCommands$.doLoadProject(Main.scala:492)\r\n\tat sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:484)\r\n\tat sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:484)\r\n\tat sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:59)\r\n\tat sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:59)\r\n\tat sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:61)\r\n\tat sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:61)\r\n\tat sbt.Command$.process(Command.scala:93)\r\n\tat sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)\r\n\tat sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)\r\n\tat sbt.State$$anon$1.process(State.scala:184)\r\n\tat sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)\r\n\tat sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)\r\n\tat sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)\r\n\tat sbt.MainLoop$.next(MainLoop.scala:96)\r\n\tat sbt.MainLoop$.run(MainLoop.scala:89)\r\n\tat sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:68)\r\n\tat sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:63)\r\n\tat sbt.Using.apply(Using.scala:24)\r\n\tat sbt.MainLoop$.runWithNewLog(MainLoop.scala:63)\r\n\tat sbt.MainLoop$.runAndClearLast(MainLoop.scala:46)\r\n\tat sbt.MainLoop$.runLoggedLoop(MainLoop.scala:30)\r\n\tat sbt.MainLoop$.runLogged(MainLoop.scala:22)\r\n\tat sbt.StandardMain$.runManaged(Main.scala:54)\r\n\tat sbt.xMain.run(Main.scala:29)\r\n\tat xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)\r\n\tat xsbt.boot.Launch$.withContextLoader(Launch.scala:128)\r\n\tat xsbt.boot.Launch$.run(Launch.scala:109)\r\n\tat xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)\r\n\tat xsbt.boot.Launch$.launch(Launch.scala:117)\r\n\tat xsbt.boot.Launch$.apply(Launch.scala:18)\r\n\tat xsbt.boot.Boot$.runImpl(Boot.scala:41)\r\n\tat xsbt.boot.Boot$.main(Boot.scala:17)\r\n\tat xsbt.boot.Boot.main(Boot.scala)\r\n[error] Some keys were defined with the same name but different types: 'compileOnly' (Boolean, sbt.InputTask[Unit])\r\n```\r\n\r\nIt looks like compileOnly is define as a task as well as a setting key."}}