{"action":"closed","number":160,"pull_request":{"url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/pulls/160","id":227597469,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3NTk3NDY5","html_url":"https://github.com/JLLeitschuh/ktlint-gradle/pull/160","diff_url":"https://github.com/JLLeitschuh/ktlint-gradle/pull/160.diff","patch_url":"https://github.com/JLLeitschuh/ktlint-gradle/pull/160.patch","issue_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/issues/160","number":160,"state":"closed","locked":false,"title":"Pass relative paths to source files in project to ktlint.","user":{"login":"Tapchicoma","id":1595262,"node_id":"MDQ6VXNlcjE1OTUyNjI=","avatar_url":"https://avatars0.githubusercontent.com/u/1595262?v=4","gravatar_id":"","url":"https://api.github.com/users/Tapchicoma","html_url":"https://github.com/Tapchicoma","followers_url":"https://api.github.com/users/Tapchicoma/followers","following_url":"https://api.github.com/users/Tapchicoma/following{/other_user}","gists_url":"https://api.github.com/users/Tapchicoma/gists{/gist_id}","starred_url":"https://api.github.com/users/Tapchicoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tapchicoma/subscriptions","organizations_url":"https://api.github.com/users/Tapchicoma/orgs","repos_url":"https://api.github.com/users/Tapchicoma/repos","events_url":"https://api.github.com/users/Tapchicoma/events{/privacy}","received_events_url":"https://api.github.com/users/Tapchicoma/received_events","type":"User","site_admin":false},"body":"To reduce command line length - pass relative to current project paths\r\nto source files.\r\n\r\nBefore this change:\r\n```\r\nCommand: /opt/oracle-jdk-bin-1.8.0.192/bin/java -Dfile.encoding=UTF-8 -Duser.country=DE -Duser.language=en -Duser.variant -cp <big_classpath> com.github.shyiko.ktlint.Main /home/user/data/work/ktlint-gradle/samples/kotlin-ks/src/main/kotlin/org/jlleitschuh/gradle/ktlint/sample/kotlin/main.kt --verbose --reporter=plain --color --reporter=checkstyle,output=/home/user/data/work/ktlint-gradle/samples/kotlin-ks/build/reports/ktlint/ktlintMainCheck.xml --reporter=json,output=/home/user/data/work/ktlint-gradle/samples/kotlin-ks/build/reports/ktlint/ktlintMainCheck.json\r\n```\r\n\r\nAfter this change:\r\n```\r\nCommand: /opt/oracle-jdk-bin-1.8.0.192/bin/java -Dfile.encoding=UTF-8 -Duser.country=DE -Duser.language=en -Duser.variant -cp <big_classpath> com.github.shyiko.ktlint.Main src/main/kotlin/org/jlleitschuh/gradle/ktlint/sample/kotlin/main.kt --verbose --reporter=plain --color --reporter=checkstyle,output=/home/user/data/work/ktlint-gradle/samples/kotlin-ks/build/reports/ktlint/ktlintMainCheck.xml --reporter=json,output=/home/user/data/work/ktlint-gradle/samples/kotlin-ks/build/reports/ktlint/ktlintMainCheck.json\r\n```\r\n\r\nPossibly fixes #156 ","created_at":"2018-11-01T12:04:06Z","updated_at":"2018-11-01T15:14:17Z","closed_at":"2018-11-01T15:14:17Z","merged_at":"2018-11-01T15:14:16Z","merge_commit_sha":"7cc05be2154b0a2c3552a13daead2141bd945a3c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/pulls/160/commits","review_comments_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/pulls/160/comments","review_comment_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/issues/160/comments","statuses_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/statuses/03f8cd8ef659b35776a997af4a04c91f9282044f","head":{"label":"Tapchicoma:fix-long-path-on-windows","ref":"fix-long-path-on-windows","sha":"03f8cd8ef659b35776a997af4a04c91f9282044f","user":{"login":"Tapchicoma","id":1595262,"node_id":"MDQ6VXNlcjE1OTUyNjI=","avatar_url":"https://avatars0.githubusercontent.com/u/1595262?v=4","gravatar_id":"","url":"https://api.github.com/users/Tapchicoma","html_url":"https://github.com/Tapchicoma","followers_url":"https://api.github.com/users/Tapchicoma/followers","following_url":"https://api.github.com/users/Tapchicoma/following{/other_user}","gists_url":"https://api.github.com/users/Tapchicoma/gists{/gist_id}","starred_url":"https://api.github.com/users/Tapchicoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tapchicoma/subscriptions","organizations_url":"https://api.github.com/users/Tapchicoma/orgs","repos_url":"https://api.github.com/users/Tapchicoma/repos","events_url":"https://api.github.com/users/Tapchicoma/events{/privacy}","received_events_url":"https://api.github.com/users/Tapchicoma/received_events","type":"User","site_admin":false},"repo":{"id":93615355,"node_id":"MDEwOlJlcG9zaXRvcnk5MzYxNTM1NQ==","name":"ktlint-gradle","full_name":"Tapchicoma/ktlint-gradle","private":false,"owner":{"login":"Tapchicoma","id":1595262,"node_id":"MDQ6VXNlcjE1OTUyNjI=","avatar_url":"https://avatars0.githubusercontent.com/u/1595262?v=4","gravatar_id":"","url":"https://api.github.com/users/Tapchicoma","html_url":"https://github.com/Tapchicoma","followers_url":"https://api.github.com/users/Tapchicoma/followers","following_url":"https://api.github.com/users/Tapchicoma/following{/other_user}","gists_url":"https://api.github.com/users/Tapchicoma/gists{/gist_id}","starred_url":"https://api.github.com/users/Tapchicoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tapchicoma/subscriptions","organizations_url":"https://api.github.com/users/Tapchicoma/orgs","repos_url":"https://api.github.com/users/Tapchicoma/repos","events_url":"https://api.github.com/users/Tapchicoma/events{/privacy}","received_events_url":"https://api.github.com/users/Tapchicoma/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Tapchicoma/ktlint-gradle","description":"A ktlint gradle plugin","fork":true,"url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle","forks_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/forks","keys_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/teams","hooks_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/hooks","issue_events_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/issues/events{/number}","events_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/events","assignees_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/assignees{/user}","branches_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/branches{/branch}","tags_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/tags","blobs_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/statuses/{sha}","languages_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/languages","stargazers_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/stargazers","contributors_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/contributors","subscribers_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/subscribers","subscription_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/subscription","commits_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/contents/{+path}","compare_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/merges","archive_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/downloads","issues_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/issues{/number}","pulls_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/pulls{/number}","milestones_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/milestones{/number}","notifications_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/labels{/name}","releases_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/releases{/id}","deployments_url":"https://api.github.com/repos/Tapchicoma/ktlint-gradle/deployments","created_at":"2017-06-07T09:08:28Z","updated_at":"2018-11-01T09:26:22Z","pushed_at":"2018-11-01T11:53:28Z","git_url":"git://github.com/Tapchicoma/ktlint-gradle.git","ssh_url":"git@github.com:Tapchicoma/ktlint-gradle.git","clone_url":"https://github.com/Tapchicoma/ktlint-gradle.git","svn_url":"https://github.com/Tapchicoma/ktlint-gradle","homepage":null,"size":542,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","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,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JLLeitschuh:master","ref":"master","sha":"36a25262822ed8141be2c4eade13b232e84f5c3f","user":{"login":"JLLeitschuh","id":1323708,"node_id":"MDQ6VXNlcjEzMjM3MDg=","avatar_url":"https://avatars2.githubusercontent.com/u/1323708?v=4","gravatar_id":"","url":"https://api.github.com/users/JLLeitschuh","html_url":"https://github.com/JLLeitschuh","followers_url":"https://api.github.com/users/JLLeitschuh/followers","following_url":"https://api.github.com/users/JLLeitschuh/following{/other_user}","gists_url":"https://api.github.com/users/JLLeitschuh/gists{/gist_id}","starred_url":"https://api.github.com/users/JLLeitschuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JLLeitschuh/subscriptions","organizations_url":"https://api.github.com/users/JLLeitschuh/orgs","repos_url":"https://api.github.com/users/JLLeitschuh/repos","events_url":"https://api.github.com/users/JLLeitschuh/events{/privacy}","received_events_url":"https://api.github.com/users/JLLeitschuh/received_events","type":"User","site_admin":false},"repo":{"id":84131083,"node_id":"MDEwOlJlcG9zaXRvcnk4NDEzMTA4Mw==","name":"ktlint-gradle","full_name":"JLLeitschuh/ktlint-gradle","private":false,"owner":{"login":"JLLeitschuh","id":1323708,"node_id":"MDQ6VXNlcjEzMjM3MDg=","avatar_url":"https://avatars2.githubusercontent.com/u/1323708?v=4","gravatar_id":"","url":"https://api.github.com/users/JLLeitschuh","html_url":"https://github.com/JLLeitschuh","followers_url":"https://api.github.com/users/JLLeitschuh/followers","following_url":"https://api.github.com/users/JLLeitschuh/following{/other_user}","gists_url":"https://api.github.com/users/JLLeitschuh/gists{/gist_id}","starred_url":"https://api.github.com/users/JLLeitschuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JLLeitschuh/subscriptions","organizations_url":"https://api.github.com/users/JLLeitschuh/orgs","repos_url":"https://api.github.com/users/JLLeitschuh/repos","events_url":"https://api.github.com/users/JLLeitschuh/events{/privacy}","received_events_url":"https://api.github.com/users/JLLeitschuh/received_events","type":"User","site_admin":false},"html_url":"https://github.com/JLLeitschuh/ktlint-gradle","description":"A ktlint gradle plugin","fork":false,"url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle","forks_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/forks","keys_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/teams","hooks_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/hooks","issue_events_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/issues/events{/number}","events_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/events","assignees_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/assignees{/user}","branches_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/branches{/branch}","tags_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/tags","blobs_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/git/refs{/sha}","trees_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/statuses/{sha}","languages_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/languages","stargazers_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/stargazers","contributors_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/contributors","subscribers_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/subscribers","subscription_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/subscription","commits_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/commits{/sha}","git_commits_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/git/commits{/sha}","comments_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/comments{/number}","issue_comment_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/issues/comments{/number}","contents_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/contents/{+path}","compare_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/merges","archive_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/downloads","issues_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/issues{/number}","pulls_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/pulls{/number}","milestones_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/milestones{/number}","notifications_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/labels{/name}","releases_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/releases{/id}","deployments_url":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/deployments","created_at":"2017-03-06T23:19:40Z","updated_at":"2018-11-01T10:56:14Z","pushed_at":"2018-11-01T15:14:17Z","git_url":"git://github.com/JLLeitschuh/ktlint-gradle.git","ssh_url":"git@github.com:JLLeitschuh/ktlint-gradle.git","clone_url":"https://github.com/JLLeitschuh/ktlint-gradle.git","svn_url":"https://github.com/JLLeitschuh/ktlint-gradle","homepage":null,"size":541,"stargazers_count":157,"watchers_count":157,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":27,"open_issues":12,"watchers":157,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/pulls/160"},"html":{"href":"https://github.com/JLLeitschuh/ktlint-gradle/pull/160"},"issue":{"href":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/issues/160"},"comments":{"href":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/issues/160/comments"},"review_comments":{"href":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/pulls/160/comments"},"review_comment":{"href":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/pulls/160/commits"},"statuses":{"href":"https://api.github.com/repos/JLLeitschuh/ktlint-gradle/statuses/03f8cd8ef659b35776a997af4a04c91f9282044f"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Tapchicoma","id":1595262,"node_id":"MDQ6VXNlcjE1OTUyNjI=","avatar_url":"https://avatars0.githubusercontent.com/u/1595262?v=4","gravatar_id":"","url":"https://api.github.com/users/Tapchicoma","html_url":"https://github.com/Tapchicoma","followers_url":"https://api.github.com/users/Tapchicoma/followers","following_url":"https://api.github.com/users/Tapchicoma/following{/other_user}","gists_url":"https://api.github.com/users/Tapchicoma/gists{/gist_id}","starred_url":"https://api.github.com/users/Tapchicoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tapchicoma/subscriptions","organizations_url":"https://api.github.com/users/Tapchicoma/orgs","repos_url":"https://api.github.com/users/Tapchicoma/repos","events_url":"https://api.github.com/users/Tapchicoma/events{/privacy}","received_events_url":"https://api.github.com/users/Tapchicoma/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":7,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"Tapchicoma"}}