{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/3923","repository_url":"https://api.github.com/repos/NativeScript/nativescript-cli","labels_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/3923/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/3923/comments","events_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/3923/events","html_url":"https://github.com/NativeScript/nativescript-cli/pull/3923","id":362632711,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3Mjk2NDIz","number":3923,"title":"feat: remove requirement for Android Support Repository local installation","user":{"login":"rosen-vladimirov","id":8351653,"node_id":"MDQ6VXNlcjgzNTE2NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/8351653?v=4","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":[{"id":110536377,"node_id":"MDU6TGFiZWwxMTA1MzYzNzc=","url":"https://api.github.com/repos/NativeScript/nativescript-cli/labels/feature","name":"feature","color":"0B61A4","default":false}],"state":"open","locked":false,"assignee":{"login":"rosen-vladimirov","id":8351653,"node_id":"MDQ6VXNlcjgzNTE2NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/8351653?v=4","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},"assignees":[{"login":"rosen-vladimirov","id":8351653,"node_id":"MDQ6VXNlcjgzNTE2NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/8351653?v=4","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/76","html_url":"https://github.com/NativeScript/nativescript-cli/milestone/76","labels_url":"https://api.github.com/repos/NativeScript/nativescript-cli/milestones/76/labels","id":3501919,"node_id":"MDk6TWlsZXN0b25lMzUwMTkxOQ==","number":76,"title":"5.0.0","description":"Date to be determined","creator":{"login":"rosen-vladimirov","id":8351653,"node_id":"MDQ6VXNlcjgzNTE2NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/8351653?v=4","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},"open_issues":11,"closed_issues":14,"state":"open","created_at":"2018-07-17T06:57:14Z","updated_at":"2018-09-25T07:52:45Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-09-21T14:09:16Z","updated_at":"2018-09-25T10:14:49Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/pulls/3923","html_url":"https://github.com/NativeScript/nativescript-cli/pull/3923","diff_url":"https://github.com/NativeScript/nativescript-cli/pull/3923.diff","patch_url":"https://github.com/NativeScript/nativescript-cli/pull/3923.patch"},"body":"In the past there was a requirement to have a local installation of the Android Support Repository in order to use libraries from there. However, since some time, the new versions are not downloaded locally and they must be used from the Google repository.\r\nCurrently this is not possible in NativeScript as {N} CLI always passes the Support Library version to gradle based on the local installation.\r\nRemove the requirement for local installation and never pass the version to gradle. This way the apps will use the value specified in the `build.gradle` and they can overwrite it in `app.gradle`.\r\nUpdate nativescript-doctor to latest version, which allows building project without local Androud Support Repository\r\n\r\n## PR Checklist\r\n\r\n- [x] The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages.\r\n- [x] There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it.\r\n- [x] You have signed the [CLA](http://www.nativescript.org/cla).\r\n- [x] All existing tests are passing: https://github.com/NativeScript/nativescript-cli/blob/master/CONTRIBUTING.md#contribute-to-the-code-base\r\n- [ ] Tests for the changes are included.\r\n\r\n## What is the current behavior?\r\nYou cannot use new versions of Android Support Library. Defining it in `app.gradle` still does not allow you to use newer version, as CLI overwrites the value. Also you cannot build NativeScript projects in case you do not have local version of the Android Support Repository.\r\n\r\n## What is the new behavior?\r\n1. You can specify your own version of the Android Support Library in your `app.gradle`. In case you do not specify it, a default value will be used (set in `build.gradle`).\r\n2. You can build projects without installing local version of Android Support Repository.\r\n\r\nFixes issue https://github.com/NativeScript/nativescript-cli/issues/3773 \r\n\r\n\r\nBREAKING CHANGES:\r\nExisting applications that are using older runtime (not 5.0.0 one), but are built with CLI 5.0.0, may experience some changes - until now CLI was always passing parameter to gradle `-PsupportVersion=26.0.0-alpha1`. As CLI no longer passes this version, the default one from `build.gradle` will be used (for example 27.0.1). In case you want to use the old version in your application, add the following in your `app.gradle`:\r\n```Groovy\r\nproject.ext.supportVersion = \"26.0.0-alpha1\"\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/comments/424285840","html_url":"https://github.com/NativeScript/nativescript-cli/pull/3923#issuecomment-424285840","issue_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/3923","id":424285840,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDI4NTg0MA==","user":{"login":"rosen-vladimirov","id":8351653,"node_id":"MDQ6VXNlcjgzNTE2NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/8351653?v=4","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},"created_at":"2018-09-25T10:14:49Z","updated_at":"2018-09-25T10:14:49Z","author_association":"CONTRIBUTOR","body":"run ci"}}
{"actor":{"display_login":"rosen-vladimirov"}}