{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/856","labels_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/856/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/856/comments","events_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/856/events","html_url":"https://github.com/NativeScript/nativescript-cli/pull/856","id":104562745,"number":856,"title":"Pass correct parameters to gradle build","user":{"login":"rosen-vladimirov","id":8351653,"avatar_url":"https://avatars.githubusercontent.com/u/8351653?v=3","gravatar_id":"","url":"https://api.github.com/users/rosen-vladimirov","html_url":"https://github.com/rosen-vladimirov","followers_url":"https://api.github.com/users/rosen-vladimirov/followers","following_url":"https://api.github.com/users/rosen-vladimirov/following{/other_user}","gists_url":"https://api.github.com/users/rosen-vladimirov/gists{/gist_id}","starred_url":"https://api.github.com/users/rosen-vladimirov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosen-vladimirov/subscriptions","organizations_url":"https://api.github.com/users/rosen-vladimirov/orgs","repos_url":"https://api.github.com/users/rosen-vladimirov/repos","events_url":"https://api.github.com/users/rosen-vladimirov/events{/privacy}","received_events_url":"https://api.github.com/users/rosen-vladimirov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"rosen-vladimirov","id":8351653,"avatar_url":"https://avatars.githubusercontent.com/u/8351653?v=3","gravatar_id":"","url":"https://api.github.com/users/rosen-vladimirov","html_url":"https://github.com/rosen-vladimirov","followers_url":"https://api.github.com/users/rosen-vladimirov/followers","following_url":"https://api.github.com/users/rosen-vladimirov/following{/other_user}","gists_url":"https://api.github.com/users/rosen-vladimirov/gists{/gist_id}","starred_url":"https://api.github.com/users/rosen-vladimirov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosen-vladimirov/subscriptions","organizations_url":"https://api.github.com/users/rosen-vladimirov/orgs","repos_url":"https://api.github.com/users/rosen-vladimirov/repos","events_url":"https://api.github.com/users/rosen-vladimirov/events{/privacy}","received_events_url":"https://api.github.com/users/rosen-vladimirov/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/milestones/14","html_url":"https://github.com/NativeScript/nativescript-cli/milestones/1.3.0","labels_url":"https://api.github.com/repos/NativeScript/nativescript-cli/milestones/14/labels","id":1117827,"number":14,"title":"1.3.0","description":"","creator":{"login":"valentinstoychev","id":4980822,"avatar_url":"https://avatars.githubusercontent.com/u/4980822?v=3","gravatar_id":"","url":"https://api.github.com/users/valentinstoychev","html_url":"https://github.com/valentinstoychev","followers_url":"https://api.github.com/users/valentinstoychev/followers","following_url":"https://api.github.com/users/valentinstoychev/following{/other_user}","gists_url":"https://api.github.com/users/valentinstoychev/gists{/gist_id}","starred_url":"https://api.github.com/users/valentinstoychev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valentinstoychev/subscriptions","organizations_url":"https://api.github.com/users/valentinstoychev/orgs","repos_url":"https://api.github.com/users/valentinstoychev/repos","events_url":"https://api.github.com/users/valentinstoychev/events{/privacy}","received_events_url":"https://api.github.com/users/valentinstoychev/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":47,"state":"open","created_at":"2015-05-19T10:10:41Z","updated_at":"2015-09-04T16:03:57Z","due_on":"2015-09-08T21:00:00Z","closed_at":null},"comments":4,"created_at":"2015-09-02T20:17:30Z","updated_at":"2015-09-05T14:03:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/pulls/856","html_url":"https://github.com/NativeScript/nativescript-cli/pull/856","diff_url":"https://github.com/NativeScript/nativescript-cli/pull/856.diff","patch_url":"https://github.com/NativeScript/nativescript-cli/pull/856.patch"},"body":"\r\nWe should pass correct parameters to android build. We need:\r\n* Compile SDK - at least 21\r\n* BuildTools version - at least 22\r\n* AppCompat lib (Android Support) version - same as compile SDK\r\n* Target SDK - the selected target by user - there's no need to have it. It will be options.sdk, or the value set in AndroidManifest or the compileSDK.\r\n\r\nWhen `--sdk` option is used with prepare/build/deploy/run commands, it\r\nwill be passed to gradle as targetSdk.\r\n"},"comment":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/comments/137958193","html_url":"https://github.com/NativeScript/nativescript-cli/pull/856#issuecomment-137958193","issue_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/856","id":137958193,"user":{"login":"ns-bot","id":8101183,"avatar_url":"https://avatars.githubusercontent.com/u/8101183?v=3","gravatar_id":"","url":"https://api.github.com/users/ns-bot","html_url":"https://github.com/ns-bot","followers_url":"https://api.github.com/users/ns-bot/followers","following_url":"https://api.github.com/users/ns-bot/following{/other_user}","gists_url":"https://api.github.com/users/ns-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/ns-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ns-bot/subscriptions","organizations_url":"https://api.github.com/users/ns-bot/orgs","repos_url":"https://api.github.com/users/ns-bot/repos","events_url":"https://api.github.com/users/ns-bot/events{/privacy}","received_events_url":"https://api.github.com/users/ns-bot/received_events","type":"User","site_admin":false},"created_at":"2015-09-05T14:03:33Z","updated_at":"2015-09-05T14:03:33Z","body":":white_check_mark:"}}