{"id":13541991,"url":"https://github.com/JakeWharton/sdk-manager-plugin","last_synced_at":"2025-04-02T09:33:09.737Z","repository":{"id":15504468,"uuid":"18238514","full_name":"JakeWharton/sdk-manager-plugin","owner":"JakeWharton","description":"DEPRECATED Gradle plugin which downloads and manages your Android SDK.","archived":true,"fork":false,"pushed_at":"2016-10-07T23:07:08.000Z","size":453,"stargazers_count":1409,"open_issues_count":44,"forks_count":133,"subscribers_count":92,"default_branch":"master","last_synced_at":"2025-01-18T22:38:29.955Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JakeWharton.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-29T09:48:51.000Z","updated_at":"2024-11-06T10:40:25.000Z","dependencies_parsed_at":"2022-07-20T21:32:23.006Z","dependency_job_id":null,"html_url":"https://github.com/JakeWharton/sdk-manager-plugin","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeWharton%2Fsdk-manager-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeWharton%2Fsdk-manager-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeWharton%2Fsdk-manager-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeWharton%2Fsdk-manager-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JakeWharton","download_url":"https://codeload.github.com/JakeWharton/sdk-manager-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246788996,"owners_count":20834211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T10:00:59.805Z","updated_at":"2025-04-02T09:33:09.325Z","avatar_url":"https://github.com/JakeWharton.png","language":"Groovy","funding_links":[],"categories":["Plugins","Libs","Gradle Plugin"],"sub_categories":["Android application development","\u003cA NAME=\"Plugin\"\u003e\u003c/A\u003ePlugin"],"readme":"# DEPRECATED\n\nThis plugin is deprecated and is no longer being developed. Tools and dependencies are [automatically downloaded](https://developer.android.com/studio/intro/update.html#download-with-gradle) using version 2.2.0 of the Android Gradle plugin or newer.\n\n![](http://i.imgur.com/8JsJXzn.jpg)\n\n\nSDK Manager Plugin\n==================\n\nSDK missing? API level not downloaded? Support library out-of-date?\n\nThese are all typical problems which you shouldn't have to deal with. This is especially painful\nwhen you have multiple developers on a project or a CI machine that you have to keep up-to-date.\n\nThis Gradle plugin will manage these SDK dependencies for you automatically.\n\nSupported functionality:\n\n * `local.properties` will be created if missing. The `ANDROID_HOME` environment variable will be\n   used if present. Otherwise `~/.android-sdk` will be used.\n * The platform-specific SDK will be downloaded if missing.\n * The build tools and platform tools will be downloaded if missing.\n * Compilation API declared in `compileSdkVersion` will be downloaded if missing.\n * If any dependencies are declared on support libraries, the support repository will be downloaded\n   if missing. If the revision of the support repository does not contain the version declared it\n   will be updated.\n * If any dependencies are declared on Google Play Services, the Google repository will be\n   downloaded if missing. If the revision of the Google repository does not contain the version\n   declared it will be updated.\n * If an emulator is specified, it will be downloaded if missing. If the emulator revision is less\n   than the available revision, it will be updated.\n\n\n*Note: By using this plugin you acknowledge that associated licenses of the components downloaded\nare accepted automatically on your behalf. You are required to have accepted the respective licenses\nof these components prior to using this plugin.*\n\n\n\nUsage\n-----\n\nApply the plugin in your `build.gradle` *before* the regular 'android' plugin:\n```groovy\nbuildscript {\n  repositories {\n    mavenCentral()\n  }\n  dependencies {\n    classpath 'com.android.tools.build:gradle:0.12.+'\n    classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.+'\n  }\n}\n\napply plugin: 'android-sdk-manager'\napply plugin: 'com.android.application'\n\n// optionally including an emulator\nsdkManager {\n  emulatorVersion 'android-19'\n  emulatorArchitecture 'armeabi-v7a' // optional, defaults to arm\n}\n```\n\nOn an initial run, the output will look something like this:\n```\n$ ./gradlew clean assemble\nAndroid SDK not found. Downloading...\nSDK extracted at '/Users/jw/.android-sdk'. Writing to local.properties.\nBuild tools 20.0.0 missing. Downloading...\nCompilation API android-19 missing. Downloading...\nSupport library repository missing. Downloading...\nGoogle Play Services repository missing. Downloading...\nEmulator version not installed or outdated. Downloading...\n\n(normal execution output)\n```\nYour output likely will be different depending on the varying factors listed above. Subsequent runs\nwill omit this output and proceed directly to normal execution.\n\nHow long does this plugin add to the build lifecycle? It currently takes about 100ms on average to\ncheck all of the above conditions. This cost is only paid when Gradle is setting up the model for\nthe project. If you use the Gradle daemon or use Android Studio this only happens once.\n\n\n\nLicense\n--------\n\n    Copyright 2014 Jake Wharton\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJakeWharton%2Fsdk-manager-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJakeWharton%2Fsdk-manager-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJakeWharton%2Fsdk-manager-plugin/lists"}