{"action":"created","issue":{"url":"https://api.github.com/repos/segmentio/analytics-react-native/issues/44","repository_url":"https://api.github.com/repos/segmentio/analytics-react-native","labels_url":"https://api.github.com/repos/segmentio/analytics-react-native/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/analytics-react-native/issues/44/comments","events_url":"https://api.github.com/repos/segmentio/analytics-react-native/issues/44/events","html_url":"https://github.com/segmentio/analytics-react-native/pull/44","id":420182814,"node_id":"MDExOlB1bGxSZXF1ZXN0MjYwNTE4NzM2","number":44,"title":"Bug Fix: Upgrade Kotlin Gradle Plugin","user":{"login":"ossareh","id":260015,"node_id":"MDQ6VXNlcjI2MDAxNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/260015?v=4","gravatar_id":"","url":"https://api.github.com/users/ossareh","html_url":"https://github.com/ossareh","followers_url":"https://api.github.com/users/ossareh/followers","following_url":"https://api.github.com/users/ossareh/following{/other_user}","gists_url":"https://api.github.com/users/ossareh/gists{/gist_id}","starred_url":"https://api.github.com/users/ossareh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ossareh/subscriptions","organizations_url":"https://api.github.com/users/ossareh/orgs","repos_url":"https://api.github.com/users/ossareh/repos","events_url":"https://api.github.com/users/ossareh/events{/privacy}","received_events_url":"https://api.github.com/users/ossareh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-03-12T20:09:53Z","updated_at":"2019-08-20T13:35:12Z","closed_at":"2019-03-29T15:33:34Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/segmentio/analytics-react-native/pulls/44","html_url":"https://github.com/segmentio/analytics-react-native/pull/44","diff_url":"https://github.com/segmentio/analytics-react-native/pull/44.diff","patch_url":"https://github.com/segmentio/analytics-react-native/pull/44.patch"},"body":"With React-Native 0.59 you need to use the kotlin-gradle-plugin 1.3.0+. Failure to do so results in the following error:\r\n\r\n```\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nThe Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.0 and higher.\r\nThe following dependencies do not satisfy the required version:\r\nproject ':@segment_analytics-react-native' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.60\r\n```\r\n\r\nI was not sure what your `integrations` package is for, but I've made the changes to that also.\r\n\r\nI've tested these changes on my app and can confirm the errors go away, but I'm not familiar with Kotlin so I can't really speak to whether I've botched something up or not.\r\n\r\nI'm happy to help out further if I have indeed done something screwy, but will need some direction."},"comment":{"url":"https://api.github.com/repos/segmentio/analytics-react-native/issues/comments/523017658","html_url":"https://github.com/segmentio/analytics-react-native/pull/44#issuecomment-523017658","issue_url":"https://api.github.com/repos/segmentio/analytics-react-native/issues/44","id":523017658,"node_id":"MDEyOklzc3VlQ29tbWVudDUyMzAxNzY1OA==","user":{"login":"AmitPandya007","id":50406425,"node_id":"MDQ6VXNlcjUwNDA2NDI1","avatar_url":"https://avatars1.githubusercontent.com/u/50406425?v=4","gravatar_id":"","url":"https://api.github.com/users/AmitPandya007","html_url":"https://github.com/AmitPandya007","followers_url":"https://api.github.com/users/AmitPandya007/followers","following_url":"https://api.github.com/users/AmitPandya007/following{/other_user}","gists_url":"https://api.github.com/users/AmitPandya007/gists{/gist_id}","starred_url":"https://api.github.com/users/AmitPandya007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmitPandya007/subscriptions","organizations_url":"https://api.github.com/users/AmitPandya007/orgs","repos_url":"https://api.github.com/users/AmitPandya007/repos","events_url":"https://api.github.com/users/AmitPandya007/events{/privacy}","received_events_url":"https://api.github.com/users/AmitPandya007/received_events","type":"User","site_admin":false},"created_at":"2019-08-20T13:35:12Z","updated_at":"2019-08-20T13:35:12Z","author_association":"NONE","body":"please upgrade the gradle versions and kotlin versions in the used libraries's build.gradle files.\r\nIt will resolve the gradle error. **+1**"}}
{"actor":{"display_login":"AmitPandya007"}}