{"action":"created","issue":{"url":"https://api.github.com/repos/snyk/snyk/issues/277","repository_url":"https://api.github.com/repos/snyk/snyk","labels_url":"https://api.github.com/repos/snyk/snyk/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/snyk/snyk/issues/277/comments","events_url":"https://api.github.com/repos/snyk/snyk/issues/277/events","html_url":"https://github.com/snyk/snyk/pull/277","id":382850690,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNDYxMTk2","number":277,"title":"feat: Add support for gradle's kotlin-dsl","user":{"login":"pastjean","id":140675,"node_id":"MDQ6VXNlcjE0MDY3NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/140675?v=4","gravatar_id":"","url":"https://api.github.com/users/pastjean","html_url":"https://github.com/pastjean","followers_url":"https://api.github.com/users/pastjean/followers","following_url":"https://api.github.com/users/pastjean/following{/other_user}","gists_url":"https://api.github.com/users/pastjean/gists{/gist_id}","starred_url":"https://api.github.com/users/pastjean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pastjean/subscriptions","organizations_url":"https://api.github.com/users/pastjean/orgs","repos_url":"https://api.github.com/users/pastjean/repos","events_url":"https://api.github.com/users/pastjean/events{/privacy}","received_events_url":"https://api.github.com/users/pastjean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-20T21:14:27Z","updated_at":"2018-11-29T18:31:41Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/snyk/snyk/pulls/277","html_url":"https://github.com/snyk/snyk/pull/277","diff_url":"https://github.com/snyk/snyk/pull/277.diff","patch_url":"https://github.com/snyk/snyk/pull/277.patch"},"body":"- [x] Ready for review\r\n- [x] Follows [CONTRIBUTING](https://github.com/snyk/snyk/blob/master/.github/CONTRIBUTING.md) rules\r\n- [ ] Reviewed by Snyk internal team\r\n\r\n#### What does this PR do?\r\n\r\nAs of gradle v5 (soon to be released), kotlin-dsl is now official. It still uses the\r\nsame old methods as gradle but the detection of those project with\r\nsnyk was broken. This patch adds the support for gradle kotlin-dsl\r\n\r\n#### How should this be manually tested?\r\nCreate a `build.gradle.kts` file in a directory with the following content:\r\n\r\n```kotlin\r\nplugins {\r\n    kotlin(\"jvm\")\r\n}\r\n\r\ndependencies {\r\n    implementation(kotlin(\"stdlib\"))\r\n}\r\n```\r\n\r\n#### Any background context you want to provide?\r\n\r\nKotlin-dsl: https://github.com/gradle/kotlin-dsl/\r\n\r\nNews here: https://github.com/gradle/gradle/releases/tag/v5.0.0-RC2#kotlin-dsl-1.0\r\n"},"comment":{"url":"https://api.github.com/repos/snyk/snyk/issues/comments/442942666","html_url":"https://github.com/snyk/snyk/pull/277#issuecomment-442942666","issue_url":"https://api.github.com/repos/snyk/snyk/issues/277","id":442942666,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mjk0MjY2Ng==","user":{"login":"pastjean","id":140675,"node_id":"MDQ6VXNlcjE0MDY3NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/140675?v=4","gravatar_id":"","url":"https://api.github.com/users/pastjean","html_url":"https://github.com/pastjean","followers_url":"https://api.github.com/users/pastjean/followers","following_url":"https://api.github.com/users/pastjean/following{/other_user}","gists_url":"https://api.github.com/users/pastjean/gists{/gist_id}","starred_url":"https://api.github.com/users/pastjean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pastjean/subscriptions","organizations_url":"https://api.github.com/users/pastjean/orgs","repos_url":"https://api.github.com/users/pastjean/repos","events_url":"https://api.github.com/users/pastjean/events{/privacy}","received_events_url":"https://api.github.com/users/pastjean/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T18:31:41Z","updated_at":"2018-11-29T18:31:41Z","author_association":"NONE","body":"Thanks for the quick answer. 🙌"}}
{"actor":{"display_login":"pastjean"}}