{"action":"created","comment":{"url":"https://api.github.com/repos/cvogt/cbt/pulls/comments/67800109","id":67800109,"diff_hunk":"@@ -43,29 +43,45 @@ that describes your build. Here is an example\n \n ```scala\n // build/build.scala\n-import cbt._\n-class Build(val context: cbt.Context) extends Publish{\n-  override def version = \"0.6.1\"\n+class Build(val context: cbt.Context) extends PackageJars {\n+  override def defaultVersion = \"0.6.1\"\n+\n+  override def name = \"play-json-extensions\"\n+\n   override def groupId = \"org.cvogt\"\n+\n   override def artifactId = \"play-json-extensions\"\n+\n   override def dependencies =\n     super.dependencies ++\n-    Resolver(mavenCentral).bind(\n-      // encouraged way to declare dependencies\n-      ScalaDependency(\"com.typesafe.play\", \"play-json\", \"2.4.4\"),\n-      MavenDependency(\"joda-time\", \"joda-time\", \"2.9.2\")\n-      // also supported for SBT syntax compatibility:\n-      // \"com.typesafe.play\" %% \"play-json\" % \"2.4.4\"\n-      // Maven.central % \"joda-time\" % \"joda-time % \"2.9.2\"\n-    )\n+      Resolver(mavenCentral).bind(\n+        // encouraged way to declare dependencies\n+        ScalaDependency(\"com.typesafe.play\", \"play-json\", \"2.4.4\"),\n+        MavenDependency(\"joda-time\", \"joda-time\", \"2.9.2\"))\n+  \n   override def compile = {\n     println(\"Compiling...\")\n     super.compile\n   }\n+\n   def foo = \"Hello World\"\n }\n ```\n \n+Dependencies could also be declared using SBT style.\n+\n+```scala\n+class Build(val context: cbt.Context) extends PackageJars {\n+...\n+// sbt compatible dependencies definition\n+override def dependencies =\n+  super.dependencies ++\n+    Resolver(mavenCentral).bind(\"com.typesafe.play\" %% \"play-json\" % \"2.4.4\",\n+      \"joda-time\", \"joda-time\", \"2.9.2\")","path":"README.md","position":49,"original_position":49,"commit_id":"0876ba288e1918789a7e8227fc6d91981ebe00fb","original_commit_id":"0876ba288e1918789a7e8227fc6d91981ebe00fb","user":{"login":"cvogt","id":274947,"avatar_url":"https://avatars.githubusercontent.com/u/274947?v=3","gravatar_id":"","url":"https://api.github.com/users/cvogt","html_url":"https://github.com/cvogt","followers_url":"https://api.github.com/users/cvogt/followers","following_url":"https://api.github.com/users/cvogt/following{/other_user}","gists_url":"https://api.github.com/users/cvogt/gists{/gist_id}","starred_url":"https://api.github.com/users/cvogt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvogt/subscriptions","organizations_url":"https://api.github.com/users/cvogt/orgs","repos_url":"https://api.github.com/users/cvogt/repos","events_url":"https://api.github.com/users/cvogt/events{/privacy}","received_events_url":"https://api.github.com/users/cvogt/received_events","type":"User","site_admin":false},"body":"I personally prefer line breaks after ( and after , and before ) if the line is too long.","created_at":"2016-06-21T02:39:45Z","updated_at":"2016-06-21T02:39:45Z","html_url":"https://github.com/cvogt/cbt/pull/154#discussion_r67800109","pull_request_url":"https://api.github.com/repos/cvogt/cbt/pulls/154","_links":{"self":{"href":"https://api.github.com/repos/cvogt/cbt/pulls/comments/67800109"},"html":{"href":"https://github.com/cvogt/cbt/pull/154#discussion_r67800109"},"pull_request":{"href":"https://api.github.com/repos/cvogt/cbt/pulls/154"}}},"pull_request":{"url":"https://api.github.com/repos/cvogt/cbt/pulls/154","id":74542762,"html_url":"https://github.com/cvogt/cbt/pull/154","diff_url":"https://github.com/cvogt/cbt/pull/154.diff","patch_url":"https://github.com/cvogt/cbt/pull/154.patch","issue_url":"https://api.github.com/repos/cvogt/cbt/issues/154","number":154,"state":"open","locked":false,"title":"Updated usage example in the README.md file","user":{"login":"prassee","id":863188,"avatar_url":"https://avatars.githubusercontent.com/u/863188?v=3","gravatar_id":"","url":"https://api.github.com/users/prassee","html_url":"https://github.com/prassee","followers_url":"https://api.github.com/users/prassee/followers","following_url":"https://api.github.com/users/prassee/following{/other_user}","gists_url":"https://api.github.com/users/prassee/gists{/gist_id}","starred_url":"https://api.github.com/users/prassee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prassee/subscriptions","organizations_url":"https://api.github.com/users/prassee/orgs","repos_url":"https://api.github.com/users/prassee/repos","events_url":"https://api.github.com/users/prassee/events{/privacy}","received_events_url":"https://api.github.com/users/prassee/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-21T02:27:13Z","updated_at":"2016-06-21T02:39:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cd27501c1ff07be6d1545f2724748de8ac420976","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cvogt/cbt/pulls/154/commits","review_comments_url":"https://api.github.com/repos/cvogt/cbt/pulls/154/comments","review_comment_url":"https://api.github.com/repos/cvogt/cbt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cvogt/cbt/issues/154/comments","statuses_url":"https://api.github.com/repos/cvogt/cbt/statuses/0876ba288e1918789a7e8227fc6d91981ebe00fb","head":{"label":"prassee:master","ref":"master","sha":"0876ba288e1918789a7e8227fc6d91981ebe00fb","user":{"login":"prassee","id":863188,"avatar_url":"https://avatars.githubusercontent.com/u/863188?v=3","gravatar_id":"","url":"https://api.github.com/users/prassee","html_url":"https://github.com/prassee","followers_url":"https://api.github.com/users/prassee/followers","following_url":"https://api.github.com/users/prassee/following{/other_user}","gists_url":"https://api.github.com/users/prassee/gists{/gist_id}","starred_url":"https://api.github.com/users/prassee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prassee/subscriptions","organizations_url":"https://api.github.com/users/prassee/orgs","repos_url":"https://api.github.com/users/prassee/repos","events_url":"https://api.github.com/users/prassee/events{/privacy}","received_events_url":"https://api.github.com/users/prassee/received_events","type":"User","site_admin":false},"repo":{"id":61595643,"name":"cbt","full_name":"prassee/cbt","owner":{"login":"prassee","id":863188,"avatar_url":"https://avatars.githubusercontent.com/u/863188?v=3","gravatar_id":"","url":"https://api.github.com/users/prassee","html_url":"https://github.com/prassee","followers_url":"https://api.github.com/users/prassee/followers","following_url":"https://api.github.com/users/prassee/following{/other_user}","gists_url":"https://api.github.com/users/prassee/gists{/gist_id}","starred_url":"https://api.github.com/users/prassee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prassee/subscriptions","organizations_url":"https://api.github.com/users/prassee/orgs","repos_url":"https://api.github.com/users/prassee/repos","events_url":"https://api.github.com/users/prassee/events{/privacy}","received_events_url":"https://api.github.com/users/prassee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/prassee/cbt","description":"CBT - fun, fast, intuitive, compositional, statically checked builds written in Scala","fork":true,"url":"https://api.github.com/repos/prassee/cbt","forks_url":"https://api.github.com/repos/prassee/cbt/forks","keys_url":"https://api.github.com/repos/prassee/cbt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prassee/cbt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prassee/cbt/teams","hooks_url":"https://api.github.com/repos/prassee/cbt/hooks","issue_events_url":"https://api.github.com/repos/prassee/cbt/issues/events{/number}","events_url":"https://api.github.com/repos/prassee/cbt/events","assignees_url":"https://api.github.com/repos/prassee/cbt/assignees{/user}","branches_url":"https://api.github.com/repos/prassee/cbt/branches{/branch}","tags_url":"https://api.github.com/repos/prassee/cbt/tags","blobs_url":"https://api.github.com/repos/prassee/cbt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prassee/cbt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prassee/cbt/git/refs{/sha}","trees_url":"https://api.github.com/repos/prassee/cbt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prassee/cbt/statuses/{sha}","languages_url":"https://api.github.com/repos/prassee/cbt/languages","stargazers_url":"https://api.github.com/repos/prassee/cbt/stargazers","contributors_url":"https://api.github.com/repos/prassee/cbt/contributors","subscribers_url":"https://api.github.com/repos/prassee/cbt/subscribers","subscription_url":"https://api.github.com/repos/prassee/cbt/subscription","commits_url":"https://api.github.com/repos/prassee/cbt/commits{/sha}","git_commits_url":"https://api.github.com/repos/prassee/cbt/git/commits{/sha}","comments_url":"https://api.github.com/repos/prassee/cbt/comments{/number}","issue_comment_url":"https://api.github.com/repos/prassee/cbt/issues/comments{/number}","contents_url":"https://api.github.com/repos/prassee/cbt/contents/{+path}","compare_url":"https://api.github.com/repos/prassee/cbt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prassee/cbt/merges","archive_url":"https://api.github.com/repos/prassee/cbt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prassee/cbt/downloads","issues_url":"https://api.github.com/repos/prassee/cbt/issues{/number}","pulls_url":"https://api.github.com/repos/prassee/cbt/pulls{/number}","milestones_url":"https://api.github.com/repos/prassee/cbt/milestones{/number}","notifications_url":"https://api.github.com/repos/prassee/cbt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prassee/cbt/labels{/name}","releases_url":"https://api.github.com/repos/prassee/cbt/releases{/id}","deployments_url":"https://api.github.com/repos/prassee/cbt/deployments","created_at":"2016-06-21T02:24:52Z","updated_at":"2016-06-21T02:24:52Z","pushed_at":"2016-06-21T02:25:29Z","git_url":"git://github.com/prassee/cbt.git","ssh_url":"git@github.com:prassee/cbt.git","clone_url":"https://github.com/prassee/cbt.git","svn_url":"https://github.com/prassee/cbt","homepage":"","size":425,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cvogt:master","ref":"master","sha":"d6952b4703f9363c8c8a2756091559d63ed3497a","user":{"login":"cvogt","id":274947,"avatar_url":"https://avatars.githubusercontent.com/u/274947?v=3","gravatar_id":"","url":"https://api.github.com/users/cvogt","html_url":"https://github.com/cvogt","followers_url":"https://api.github.com/users/cvogt/followers","following_url":"https://api.github.com/users/cvogt/following{/other_user}","gists_url":"https://api.github.com/users/cvogt/gists{/gist_id}","starred_url":"https://api.github.com/users/cvogt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvogt/subscriptions","organizations_url":"https://api.github.com/users/cvogt/orgs","repos_url":"https://api.github.com/users/cvogt/repos","events_url":"https://api.github.com/users/cvogt/events{/privacy}","received_events_url":"https://api.github.com/users/cvogt/received_events","type":"User","site_admin":false},"repo":{"id":43394868,"name":"cbt","full_name":"cvogt/cbt","owner":{"login":"cvogt","id":274947,"avatar_url":"https://avatars.githubusercontent.com/u/274947?v=3","gravatar_id":"","url":"https://api.github.com/users/cvogt","html_url":"https://github.com/cvogt","followers_url":"https://api.github.com/users/cvogt/followers","following_url":"https://api.github.com/users/cvogt/following{/other_user}","gists_url":"https://api.github.com/users/cvogt/gists{/gist_id}","starred_url":"https://api.github.com/users/cvogt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvogt/subscriptions","organizations_url":"https://api.github.com/users/cvogt/orgs","repos_url":"https://api.github.com/users/cvogt/repos","events_url":"https://api.github.com/users/cvogt/events{/privacy}","received_events_url":"https://api.github.com/users/cvogt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cvogt/cbt","description":"CBT - fun, fast, intuitive, compositional, statically checked builds written in Scala","fork":false,"url":"https://api.github.com/repos/cvogt/cbt","forks_url":"https://api.github.com/repos/cvogt/cbt/forks","keys_url":"https://api.github.com/repos/cvogt/cbt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cvogt/cbt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cvogt/cbt/teams","hooks_url":"https://api.github.com/repos/cvogt/cbt/hooks","issue_events_url":"https://api.github.com/repos/cvogt/cbt/issues/events{/number}","events_url":"https://api.github.com/repos/cvogt/cbt/events","assignees_url":"https://api.github.com/repos/cvogt/cbt/assignees{/user}","branches_url":"https://api.github.com/repos/cvogt/cbt/branches{/branch}","tags_url":"https://api.github.com/repos/cvogt/cbt/tags","blobs_url":"https://api.github.com/repos/cvogt/cbt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cvogt/cbt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cvogt/cbt/git/refs{/sha}","trees_url":"https://api.github.com/repos/cvogt/cbt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cvogt/cbt/statuses/{sha}","languages_url":"https://api.github.com/repos/cvogt/cbt/languages","stargazers_url":"https://api.github.com/repos/cvogt/cbt/stargazers","contributors_url":"https://api.github.com/repos/cvogt/cbt/contributors","subscribers_url":"https://api.github.com/repos/cvogt/cbt/subscribers","subscription_url":"https://api.github.com/repos/cvogt/cbt/subscription","commits_url":"https://api.github.com/repos/cvogt/cbt/commits{/sha}","git_commits_url":"https://api.github.com/repos/cvogt/cbt/git/commits{/sha}","comments_url":"https://api.github.com/repos/cvogt/cbt/comments{/number}","issue_comment_url":"https://api.github.com/repos/cvogt/cbt/issues/comments{/number}","contents_url":"https://api.github.com/repos/cvogt/cbt/contents/{+path}","compare_url":"https://api.github.com/repos/cvogt/cbt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cvogt/cbt/merges","archive_url":"https://api.github.com/repos/cvogt/cbt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cvogt/cbt/downloads","issues_url":"https://api.github.com/repos/cvogt/cbt/issues{/number}","pulls_url":"https://api.github.com/repos/cvogt/cbt/pulls{/number}","milestones_url":"https://api.github.com/repos/cvogt/cbt/milestones{/number}","notifications_url":"https://api.github.com/repos/cvogt/cbt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cvogt/cbt/labels{/name}","releases_url":"https://api.github.com/repos/cvogt/cbt/releases{/id}","deployments_url":"https://api.github.com/repos/cvogt/cbt/deployments","created_at":"2015-09-29T21:14:08Z","updated_at":"2016-06-20T15:50:51Z","pushed_at":"2016-06-21T02:27:13Z","git_url":"git://github.com/cvogt/cbt.git","ssh_url":"git@github.com:cvogt/cbt.git","clone_url":"https://github.com/cvogt/cbt.git","svn_url":"https://github.com/cvogt/cbt","homepage":"","size":481,"stargazers_count":159,"watchers_count":159,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":59,"forks":21,"open_issues":59,"watchers":159,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cvogt/cbt/pulls/154"},"html":{"href":"https://github.com/cvogt/cbt/pull/154"},"issue":{"href":"https://api.github.com/repos/cvogt/cbt/issues/154"},"comments":{"href":"https://api.github.com/repos/cvogt/cbt/issues/154/comments"},"review_comments":{"href":"https://api.github.com/repos/cvogt/cbt/pulls/154/comments"},"review_comment":{"href":"https://api.github.com/repos/cvogt/cbt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cvogt/cbt/pulls/154/commits"},"statuses":{"href":"https://api.github.com/repos/cvogt/cbt/statuses/0876ba288e1918789a7e8227fc6d91981ebe00fb"}}}}
{"actor":{"display_login":"cvogt"}}