{"action":"created","issue":{"url":"https://api.github.com/repos/scalastyle/scalastyle-sbt-plugin/issues/20","labels_url":"https://api.github.com/repos/scalastyle/scalastyle-sbt-plugin/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/scalastyle/scalastyle-sbt-plugin/issues/20/comments","events_url":"https://api.github.com/repos/scalastyle/scalastyle-sbt-plugin/issues/20/events","html_url":"https://github.com/scalastyle/scalastyle-sbt-plugin/issues/20","id":37230012,"number":20,"title":"Create a cross build for both 2.11 and 2.10","user":{"login":"jasonchaffee","id":580002,"avatar_url":"https://avatars.githubusercontent.com/u/580002?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonchaffee","html_url":"https://github.com/jasonchaffee","followers_url":"https://api.github.com/users/jasonchaffee/followers","following_url":"https://api.github.com/users/jasonchaffee/following{/other_user}","gists_url":"https://api.github.com/users/jasonchaffee/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonchaffee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonchaffee/subscriptions","organizations_url":"https://api.github.com/users/jasonchaffee/orgs","repos_url":"https://api.github.com/users/jasonchaffee/repos","events_url":"https://api.github.com/users/jasonchaffee/events{/privacy}","received_events_url":"https://api.github.com/users/jasonchaffee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-07-06T22:45:08Z","updated_at":"2015-04-05T11:53:18Z","closed_at":"2014-10-05T20:41:50Z","body":"It would be nice if the plugin would work with both scala versions.  Need to wait for sbt on 2.11.\r\n\r\nhttp://stackoverflow.com/questions/23282469/does-sbt-builds-againts-scala-2-11"},"comment":{"url":"https://api.github.com/repos/scalastyle/scalastyle-sbt-plugin/issues/comments/89756730","html_url":"https://github.com/scalastyle/scalastyle-sbt-plugin/issues/20#issuecomment-89756730","issue_url":"https://api.github.com/repos/scalastyle/scalastyle-sbt-plugin/issues/20","id":89756730,"user":{"login":"matthewfarwell","id":71668,"avatar_url":"https://avatars.githubusercontent.com/u/71668?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewfarwell","html_url":"https://github.com/matthewfarwell","followers_url":"https://api.github.com/users/matthewfarwell/followers","following_url":"https://api.github.com/users/matthewfarwell/following{/other_user}","gists_url":"https://api.github.com/users/matthewfarwell/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewfarwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewfarwell/subscriptions","organizations_url":"https://api.github.com/users/matthewfarwell/orgs","repos_url":"https://api.github.com/users/matthewfarwell/repos","events_url":"https://api.github.com/users/matthewfarwell/events{/privacy}","received_events_url":"https://api.github.com/users/matthewfarwell/received_events","type":"User","site_admin":false},"created_at":"2015-04-05T11:53:18Z","updated_at":"2015-04-05T11:53:18Z","body":"You need to put the addSbtPlugin into project/plugins.sbt, not directly in build.sbt.\r\n\r\nproject/plugins.sbt contains the dependencies of the *build*, whereas build.sbt contains the dependencies of *your code*."}}