{"action":"created","comment":{"url":"https://api.github.com/repos/scalacenter/scalafix/pulls/comments/153040825","pull_request_review_id":78997800,"id":153040825,"diff_hunk":"@@ -2,65 +2,143 @@ import sbt.ScriptedPlugin\n import sbt.ScriptedPlugin._\n import Dependencies._\n \n-version.in(ThisBuild) ~= { old: String =>\n-  sys.props.getOrElse(\"scalafix.version\", old.replace('+', '-'))\n-}\n-name := \"scalafixRoot\"\n-onLoadMessage := s\"Welcome to Scalafix ${version.value}\"\n-noPublish\n+lazy val scalaFixedProjects: List[ProjectReference] =\n+  List(\n+    `scalafix-sbt`,\n+    testsInputSbt,\n+    testsOutputDotty,\n+    testsOutputSbt,\n+    website\n+  )\n \n-lazy val diff = crossProject\n-  .in(file(\"scalafix-diff\"))\n-  .settings(\n-    moduleName := \"scalafix-diff\",\n-    description := \"JVM/JS library to build unified diffs.\"\n+lazy val scala212Projects: List[ProjectReference] =\n+  List(\n+    cli212,\n+    core212JS,\n+    core212JVM,\n+    diff212JS,\n+    diff212JVM,\n+    reflect212,\n+    testkit212,\n+    testsInput212,\n+    testsOutput212,\n+    testsShared212,\n+    unit212\n   )\n-  .jvmSettings(\n-    libraryDependencies += googleDiff\n+\n+lazy val allScala212Projects: List[ProjectReference] =\n+  scala212Projects ++ scalaFixedProjects\n+\n+lazy val scala212ProjectsDependencies: List[ClasspathDep[ProjectReference]] =\n+  scala212Projects.map(ClasspathDependency(_, None))\n+\n+lazy val scala211Projects: List[ProjectReference] =\n+  List(\n+    cli211,\n+    core211JS,\n+    core211JVM,\n+    diff211JS,\n+    diff211JVM,\n+    reflect211,\n+    testkit211,\n+    testsInput211,\n+    testsOutput211,\n+    testsShared211,\n+    unit211\n   )\n-  .jsSettings(\n-    allJSSettings,\n-    npmDependencies in Compile += \"diff\" -> \"3.2.0\"\n+\n+lazy val allScala211Projects: List[ProjectReference] =\n+  scala211Projects ++ scalaFixedProjects\n+\n+lazy val scala211ProjectsDependencies: List[ClasspathDep[ProjectReference]] =\n+  scala211Projects.map(ClasspathDependency(_, None))\n+\n+lazy val scalafix = project\n+  .in(file(\".\"))\n+  .settings(\n+    moduleName := \"root\",\n+    onLoadMessage := s\"Welcome to Scalafix ${version.value}\",\n+    noPublish,\n+    scalaVersion := scala212\n   )\n-  .jsConfigure(_.enablePlugins(ScalaJSBundlerPlugin))\n-lazy val diffJS = diff.js\n-lazy val diffJVM = diff.jvm\n+  .aggregate(allScala212Projects: _*)\n+  .dependsOn(scala212ProjectsDependencies: _*)\n \n-lazy val core = crossProject\n-  .in(file(\"scalafix-core\"))\n+lazy val scalafix211 = project\n+  .in(file(\".scalafix211\"))\n   .settings(\n-    moduleName := \"scalafix-core\",\n+    moduleName := \"scalafix211\",\n+    noPublish,\n+    scalaVersion := scala211\n+  )\n+  .aggregate(allScala211Projects: _*)\n+  .dependsOn(scala211ProjectsDependencies: _*)\n+\n+val diff = MultiScalaCrossProject(","path":"build.sbt","position":96,"original_position":98,"commit_id":"9484e6e90652cc7c5b50c9bc58fe5db87a893389","original_commit_id":"6eb0c9be4667572c343330abaa32ebddb8f882af","user":{"login":"olafurpg","id":1408093,"avatar_url":"https://avatars0.githubusercontent.com/u/1408093?v=4","gravatar_id":"","url":"https://api.github.com/users/olafurpg","html_url":"https://github.com/olafurpg","followers_url":"https://api.github.com/users/olafurpg/followers","following_url":"https://api.github.com/users/olafurpg/following{/other_user}","gists_url":"https://api.github.com/users/olafurpg/gists{/gist_id}","starred_url":"https://api.github.com/users/olafurpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olafurpg/subscriptions","organizations_url":"https://api.github.com/users/olafurpg/orgs","repos_url":"https://api.github.com/users/olafurpg/repos","events_url":"https://api.github.com/users/olafurpg/events{/privacy}","received_events_url":"https://api.github.com/users/olafurpg/received_events","type":"User","site_admin":false},"body":"Running the test suite from IntelliIJ fails on something related to diff\r\n\r\n![screen shot 2017-11-25 at 09 24 55](https://user-images.githubusercontent.com/1408093/33228740-8ba48ce8-d1c2-11e7-9998-fb518c9757cf.png)\r\n\r\nThis is not a blocker, I personally don't even run tests from intellij but I know many contributors do.","created_at":"2017-11-25T08:25:48Z","updated_at":"2017-11-25T08:40:22Z","html_url":"https://github.com/scalacenter/scalafix/pull/454#discussion_r153040825","pull_request_url":"https://api.github.com/repos/scalacenter/scalafix/pulls/454","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/scalacenter/scalafix/pulls/comments/153040825"},"html":{"href":"https://github.com/scalacenter/scalafix/pull/454#discussion_r153040825"},"pull_request":{"href":"https://api.github.com/repos/scalacenter/scalafix/pulls/454"}}},"pull_request":{"url":"https://api.github.com/repos/scalacenter/scalafix/pulls/454","id":154534879,"html_url":"https://github.com/scalacenter/scalafix/pull/454","diff_url":"https://github.com/scalacenter/scalafix/pull/454.diff","patch_url":"https://github.com/scalacenter/scalafix/pull/454.patch","issue_url":"https://api.github.com/repos/scalacenter/scalafix/issues/454","number":454,"state":"open","locked":false,"title":"Refactor build to staticly define scala versions.","user":{"login":"MasseGuillaume","id":921490,"avatar_url":"https://avatars2.githubusercontent.com/u/921490?v=4","gravatar_id":"","url":"https://api.github.com/users/MasseGuillaume","html_url":"https://github.com/MasseGuillaume","followers_url":"https://api.github.com/users/MasseGuillaume/followers","following_url":"https://api.github.com/users/MasseGuillaume/following{/other_user}","gists_url":"https://api.github.com/users/MasseGuillaume/gists{/gist_id}","starred_url":"https://api.github.com/users/MasseGuillaume/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasseGuillaume/subscriptions","organizations_url":"https://api.github.com/users/MasseGuillaume/orgs","repos_url":"https://api.github.com/users/MasseGuillaume/repos","events_url":"https://api.github.com/users/MasseGuillaume/events{/privacy}","received_events_url":"https://api.github.com/users/MasseGuillaume/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-24T12:09:39Z","updated_at":"2017-11-25T08:40:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eb55370bc316237041d590c2b9b4eb95cf583ce0","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/scalacenter/scalafix/pulls/454/commits","review_comments_url":"https://api.github.com/repos/scalacenter/scalafix/pulls/454/comments","review_comment_url":"https://api.github.com/repos/scalacenter/scalafix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scalacenter/scalafix/issues/454/comments","statuses_url":"https://api.github.com/repos/scalacenter/scalafix/statuses/9484e6e90652cc7c5b50c9bc58fe5db87a893389","head":{"label":"MasseGuillaume:scastie-like-build","ref":"scastie-like-build","sha":"9484e6e90652cc7c5b50c9bc58fe5db87a893389","user":{"login":"MasseGuillaume","id":921490,"avatar_url":"https://avatars2.githubusercontent.com/u/921490?v=4","gravatar_id":"","url":"https://api.github.com/users/MasseGuillaume","html_url":"https://github.com/MasseGuillaume","followers_url":"https://api.github.com/users/MasseGuillaume/followers","following_url":"https://api.github.com/users/MasseGuillaume/following{/other_user}","gists_url":"https://api.github.com/users/MasseGuillaume/gists{/gist_id}","starred_url":"https://api.github.com/users/MasseGuillaume/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasseGuillaume/subscriptions","organizations_url":"https://api.github.com/users/MasseGuillaume/orgs","repos_url":"https://api.github.com/users/MasseGuillaume/repos","events_url":"https://api.github.com/users/MasseGuillaume/events{/privacy}","received_events_url":"https://api.github.com/users/MasseGuillaume/received_events","type":"User","site_admin":false},"repo":{"id":76031466,"name":"scalafix","full_name":"MasseGuillaume/scalafix","owner":{"login":"MasseGuillaume","id":921490,"avatar_url":"https://avatars2.githubusercontent.com/u/921490?v=4","gravatar_id":"","url":"https://api.github.com/users/MasseGuillaume","html_url":"https://github.com/MasseGuillaume","followers_url":"https://api.github.com/users/MasseGuillaume/followers","following_url":"https://api.github.com/users/MasseGuillaume/following{/other_user}","gists_url":"https://api.github.com/users/MasseGuillaume/gists{/gist_id}","starred_url":"https://api.github.com/users/MasseGuillaume/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasseGuillaume/subscriptions","organizations_url":"https://api.github.com/users/MasseGuillaume/orgs","repos_url":"https://api.github.com/users/MasseGuillaume/repos","events_url":"https://api.github.com/users/MasseGuillaume/events{/privacy}","received_events_url":"https://api.github.com/users/MasseGuillaume/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MasseGuillaume/scalafix","description":"Prepare Scala 2.x code for Dotty","fork":true,"url":"https://api.github.com/repos/MasseGuillaume/scalafix","forks_url":"https://api.github.com/repos/MasseGuillaume/scalafix/forks","keys_url":"https://api.github.com/repos/MasseGuillaume/scalafix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MasseGuillaume/scalafix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MasseGuillaume/scalafix/teams","hooks_url":"https://api.github.com/repos/MasseGuillaume/scalafix/hooks","issue_events_url":"https://api.github.com/repos/MasseGuillaume/scalafix/issues/events{/number}","events_url":"https://api.github.com/repos/MasseGuillaume/scalafix/events","assignees_url":"https://api.github.com/repos/MasseGuillaume/scalafix/assignees{/user}","branches_url":"https://api.github.com/repos/MasseGuillaume/scalafix/branches{/branch}","tags_url":"https://api.github.com/repos/MasseGuillaume/scalafix/tags","blobs_url":"https://api.github.com/repos/MasseGuillaume/scalafix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MasseGuillaume/scalafix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MasseGuillaume/scalafix/git/refs{/sha}","trees_url":"https://api.github.com/repos/MasseGuillaume/scalafix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MasseGuillaume/scalafix/statuses/{sha}","languages_url":"https://api.github.com/repos/MasseGuillaume/scalafix/languages","stargazers_url":"https://api.github.com/repos/MasseGuillaume/scalafix/stargazers","contributors_url":"https://api.github.com/repos/MasseGuillaume/scalafix/contributors","subscribers_url":"https://api.github.com/repos/MasseGuillaume/scalafix/subscribers","subscription_url":"https://api.github.com/repos/MasseGuillaume/scalafix/subscription","commits_url":"https://api.github.com/repos/MasseGuillaume/scalafix/commits{/sha}","git_commits_url":"https://api.github.com/repos/MasseGuillaume/scalafix/git/commits{/sha}","comments_url":"https://api.github.com/repos/MasseGuillaume/scalafix/comments{/number}","issue_comment_url":"https://api.github.com/repos/MasseGuillaume/scalafix/issues/comments{/number}","contents_url":"https://api.github.com/repos/MasseGuillaume/scalafix/contents/{+path}","compare_url":"https://api.github.com/repos/MasseGuillaume/scalafix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MasseGuillaume/scalafix/merges","archive_url":"https://api.github.com/repos/MasseGuillaume/scalafix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MasseGuillaume/scalafix/downloads","issues_url":"https://api.github.com/repos/MasseGuillaume/scalafix/issues{/number}","pulls_url":"https://api.github.com/repos/MasseGuillaume/scalafix/pulls{/number}","milestones_url":"https://api.github.com/repos/MasseGuillaume/scalafix/milestones{/number}","notifications_url":"https://api.github.com/repos/MasseGuillaume/scalafix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MasseGuillaume/scalafix/labels{/name}","releases_url":"https://api.github.com/repos/MasseGuillaume/scalafix/releases{/id}","deployments_url":"https://api.github.com/repos/MasseGuillaume/scalafix/deployments","created_at":"2016-12-09T11:53:44Z","updated_at":"2016-12-09T11:53:46Z","pushed_at":"2017-11-25T08:30:51Z","git_url":"git://github.com/MasseGuillaume/scalafix.git","ssh_url":"git@github.com:MasseGuillaume/scalafix.git","clone_url":"https://github.com/MasseGuillaume/scalafix.git","svn_url":"https://github.com/MasseGuillaume/scalafix","homepage":"https://scalacenter.github.io/scalafix/","size":2276,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scalacenter:master","ref":"master","sha":"ffe94e47a9397ed9d5e2c0842ef030621a6e2cc9","user":{"login":"scalacenter","id":16118980,"avatar_url":"https://avatars2.githubusercontent.com/u/16118980?v=4","gravatar_id":"","url":"https://api.github.com/users/scalacenter","html_url":"https://github.com/scalacenter","followers_url":"https://api.github.com/users/scalacenter/followers","following_url":"https://api.github.com/users/scalacenter/following{/other_user}","gists_url":"https://api.github.com/users/scalacenter/gists{/gist_id}","starred_url":"https://api.github.com/users/scalacenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scalacenter/subscriptions","organizations_url":"https://api.github.com/users/scalacenter/orgs","repos_url":"https://api.github.com/users/scalacenter/repos","events_url":"https://api.github.com/users/scalacenter/events{/privacy}","received_events_url":"https://api.github.com/users/scalacenter/received_events","type":"Organization","site_admin":false},"repo":{"id":65199839,"name":"scalafix","full_name":"scalacenter/scalafix","owner":{"login":"scalacenter","id":16118980,"avatar_url":"https://avatars2.githubusercontent.com/u/16118980?v=4","gravatar_id":"","url":"https://api.github.com/users/scalacenter","html_url":"https://github.com/scalacenter","followers_url":"https://api.github.com/users/scalacenter/followers","following_url":"https://api.github.com/users/scalacenter/following{/other_user}","gists_url":"https://api.github.com/users/scalacenter/gists{/gist_id}","starred_url":"https://api.github.com/users/scalacenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scalacenter/subscriptions","organizations_url":"https://api.github.com/users/scalacenter/orgs","repos_url":"https://api.github.com/users/scalacenter/repos","events_url":"https://api.github.com/users/scalacenter/events{/privacy}","received_events_url":"https://api.github.com/users/scalacenter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scalacenter/scalafix","description":"Refactoring and linting tool for Scala","fork":false,"url":"https://api.github.com/repos/scalacenter/scalafix","forks_url":"https://api.github.com/repos/scalacenter/scalafix/forks","keys_url":"https://api.github.com/repos/scalacenter/scalafix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scalacenter/scalafix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scalacenter/scalafix/teams","hooks_url":"https://api.github.com/repos/scalacenter/scalafix/hooks","issue_events_url":"https://api.github.com/repos/scalacenter/scalafix/issues/events{/number}","events_url":"https://api.github.com/repos/scalacenter/scalafix/events","assignees_url":"https://api.github.com/repos/scalacenter/scalafix/assignees{/user}","branches_url":"https://api.github.com/repos/scalacenter/scalafix/branches{/branch}","tags_url":"https://api.github.com/repos/scalacenter/scalafix/tags","blobs_url":"https://api.github.com/repos/scalacenter/scalafix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scalacenter/scalafix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scalacenter/scalafix/git/refs{/sha}","trees_url":"https://api.github.com/repos/scalacenter/scalafix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scalacenter/scalafix/statuses/{sha}","languages_url":"https://api.github.com/repos/scalacenter/scalafix/languages","stargazers_url":"https://api.github.com/repos/scalacenter/scalafix/stargazers","contributors_url":"https://api.github.com/repos/scalacenter/scalafix/contributors","subscribers_url":"https://api.github.com/repos/scalacenter/scalafix/subscribers","subscription_url":"https://api.github.com/repos/scalacenter/scalafix/subscription","commits_url":"https://api.github.com/repos/scalacenter/scalafix/commits{/sha}","git_commits_url":"https://api.github.com/repos/scalacenter/scalafix/git/commits{/sha}","comments_url":"https://api.github.com/repos/scalacenter/scalafix/comments{/number}","issue_comment_url":"https://api.github.com/repos/scalacenter/scalafix/issues/comments{/number}","contents_url":"https://api.github.com/repos/scalacenter/scalafix/contents/{+path}","compare_url":"https://api.github.com/repos/scalacenter/scalafix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scalacenter/scalafix/merges","archive_url":"https://api.github.com/repos/scalacenter/scalafix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scalacenter/scalafix/downloads","issues_url":"https://api.github.com/repos/scalacenter/scalafix/issues{/number}","pulls_url":"https://api.github.com/repos/scalacenter/scalafix/pulls{/number}","milestones_url":"https://api.github.com/repos/scalacenter/scalafix/milestones{/number}","notifications_url":"https://api.github.com/repos/scalacenter/scalafix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scalacenter/scalafix/labels{/name}","releases_url":"https://api.github.com/repos/scalacenter/scalafix/releases{/id}","deployments_url":"https://api.github.com/repos/scalacenter/scalafix/deployments","created_at":"2016-08-08T11:45:19Z","updated_at":"2017-11-25T00:42:22Z","pushed_at":"2017-11-25T08:30:52Z","git_url":"git://github.com/scalacenter/scalafix.git","ssh_url":"git@github.com:scalacenter/scalafix.git","clone_url":"https://github.com/scalacenter/scalafix.git","svn_url":"https://github.com/scalacenter/scalafix","homepage":"https://scalacenter.github.io/scalafix/","size":5157,"stargazers_count":198,"watchers_count":198,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":54,"mirror_url":null,"archived":false,"open_issues_count":55,"forks":54,"open_issues":55,"watchers":198,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scalacenter/scalafix/pulls/454"},"html":{"href":"https://github.com/scalacenter/scalafix/pull/454"},"issue":{"href":"https://api.github.com/repos/scalacenter/scalafix/issues/454"},"comments":{"href":"https://api.github.com/repos/scalacenter/scalafix/issues/454/comments"},"review_comments":{"href":"https://api.github.com/repos/scalacenter/scalafix/pulls/454/comments"},"review_comment":{"href":"https://api.github.com/repos/scalacenter/scalafix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scalacenter/scalafix/pulls/454/commits"},"statuses":{"href":"https://api.github.com/repos/scalacenter/scalafix/statuses/9484e6e90652cc7c5b50c9bc58fe5db87a893389"}},"author_association":"OWNER"}}
{"actor":{"display_login":"olafurpg"}}