{"action":"created","issue":{"url":"https://api.github.com/repos/sbt/sbt/issues/2286","labels_url":"https://api.github.com/repos/sbt/sbt/issues/2286/labels{/name}","comments_url":"https://api.github.com/repos/sbt/sbt/issues/2286/comments","events_url":"https://api.github.com/repos/sbt/sbt/issues/2286/events","html_url":"https://github.com/sbt/sbt/issues/2286","id":118700681,"number":2286,"title":"automatically provide dependencyOverrides for all scala-lang modules","user":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-24T20:54:05Z","updated_at":"2015-11-24T21:59:06Z","closed_at":null,"body":"if a project uses a particular version of scala, but a transitive dependency uses one of the scala-lang optionals (compiler, scalap, reflect, etc) then the older version is used. It would be good if something like this was automatic\r\n\r\n```\r\n    dependencyOverrides ++= Set(\r\n      \"org.scala-lang\" % \"scala-compiler\" % scalaVersion.value,\r\n      \"org.scala-lang\" % \"scala-library\" % scalaVersion.value,\r\n      \"org.scala-lang\" % \"scala-reflect\" % scalaVersion.value,\r\n      \"org.scala-lang\" % \"scalap\" % scalaVersion.value\r\n    ),\r\n```"},"comment":{"url":"https://api.github.com/repos/sbt/sbt/issues/comments/159417675","html_url":"https://github.com/sbt/sbt/issues/2286#issuecomment-159417675","issue_url":"https://api.github.com/repos/sbt/sbt/issues/2286","id":159417675,"user":{"login":"dwijnand","id":344610,"avatar_url":"https://avatars.githubusercontent.com/u/344610?v=3","gravatar_id":"","url":"https://api.github.com/users/dwijnand","html_url":"https://github.com/dwijnand","followers_url":"https://api.github.com/users/dwijnand/followers","following_url":"https://api.github.com/users/dwijnand/following{/other_user}","gists_url":"https://api.github.com/users/dwijnand/gists{/gist_id}","starred_url":"https://api.github.com/users/dwijnand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwijnand/subscriptions","organizations_url":"https://api.github.com/users/dwijnand/orgs","repos_url":"https://api.github.com/users/dwijnand/repos","events_url":"https://api.github.com/users/dwijnand/events{/privacy}","received_events_url":"https://api.github.com/users/dwijnand/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T21:59:06Z","updated_at":"2015-11-24T21:59:06Z","body":"Agreed.\n\nOn Tue, 24 Nov 2015 20:54 Sam Halliday <notifications@github.com> wrote:\n\n> if a project uses a particular version of scala, but a transitive\n> dependency uses one of the scala-lang optionals (compiler, scalap, reflect,\n> etc) then the older version is used. It would be good if something like\n> this was automatic\n>\n>     dependencyOverrides ++= Set(\n>       \"org.scala-lang\" % \"scala-compiler\" % scalaVersion.value,\n>       \"org.scala-lang\" % \"scala-library\" % scalaVersion.value,\n>       \"org.scala-lang\" % \"scala-reflect\" % scalaVersion.value,\n>       \"org.scala-lang\" % \"scalap\" % scalaVersion.value\n>     ),\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/sbt/sbt/issues/2286>.\n>\n"}}