{"id":21899048,"url":"https://github.com/johnsonlee/service-loader-android","last_synced_at":"2026-01-11T17:58:21.763Z","repository":{"id":57735672,"uuid":"234759007","full_name":"johnsonlee/service-loader-android","owner":"johnsonlee","description":"ServiceLoader performance optimization for Android (Deprecated, use didi/booster instead)","archived":false,"fork":false,"pushed_at":"2020-01-22T16:46:54.000Z","size":84,"stargazers_count":34,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T18:57:37.878Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/johnsonlee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-18T15:59:19.000Z","updated_at":"2025-02-14T03:07:44.000Z","dependencies_parsed_at":"2022-08-23T15:21:53.827Z","dependency_job_id":null,"html_url":"https://github.com/johnsonlee/service-loader-android","commit_stats":null,"previous_names":["johnsonlee/service-loader"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/johnsonlee/service-loader-android","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnsonlee%2Fservice-loader-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnsonlee%2Fservice-loader-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnsonlee%2Fservice-loader-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnsonlee%2Fservice-loader-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnsonlee","download_url":"https://codeload.github.com/johnsonlee/service-loader-android/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnsonlee%2Fservice-loader-android/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271236280,"owners_count":24723978,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-28T14:37:13.629Z","updated_at":"2026-01-11T17:58:21.707Z","avatar_url":"https://github.com/johnsonlee.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Service Loader for Android\n\nThis project is used to optimize [Java Service Provider Interface](https://docs.oracle.com/javase/tutorial/sound/SPI-intro.html) on Android.\n\n## Getting Started\n\nThe transformer depends [Booster Framework](https://github.com/didi/booster), so, the [booster-gradle-plugin](https://github.com/didi/booster/tree/master/booster-gradle-plugin) should be contained in classpath of buildscript:\n\n```groovy\nbuildscript {\n    ext.kotlin_version = \"1.3.50\"\n    repositories {\n        mavenLocal()\n        mavenCentral()\n        google()\n        jcenter()\n    }\n    dependencies {\n        classpath(\"com.android.tools.build:gradle:3.5.0\")\n        classpath \"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version\"\n\n        classpath(\"com.didiglobal.booster:booster-gradle-plugin:1.3.1\")\n\n        classpath(\"io.johnsonlee.spi:booster-transform-service-loader:1.0.0\")\n    }\n}\n```\n\nThen apply booster gradle plugin:\n\n```groovy\napply plugin: \"com.android.application\"\napply plugin: \"kotlin-android\"\napply plugin: \"kotlin-android-extensions\"\napply plugin: 'kotlin-kapt'\napply plugin: \"com.didiglobal.booster\"\n```\n\n## Example\n\nHere is the [example project](https://github.com/johnsonlee/service-loader-android/tree/master/example)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnsonlee%2Fservice-loader-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnsonlee%2Fservice-loader-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnsonlee%2Fservice-loader-android/lists"}