{"id":16876743,"url":"https://github.com/egorand/android-dagger-overrides","last_synced_at":"2025-07-15T11:05:12.182Z","repository":{"id":68587275,"uuid":"62236532","full_name":"Egorand/android-dagger-overrides","owner":"Egorand","description":"An example of configuring Dagger modules to provide test doubles, covers both Dagger 1 and Dagger 2.","archived":false,"fork":false,"pushed_at":"2016-06-29T16:04:36.000Z","size":115,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"dagger1-overrides","last_synced_at":"2025-04-11T12:05:52.116Z","etag":null,"topics":["android","android-dagger","dagger","dependency-injection"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/Egorand.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-29T15:22:49.000Z","updated_at":"2021-12-07T14:12:30.000Z","dependencies_parsed_at":"2023-02-21T05:31:08.041Z","dependency_job_id":null,"html_url":"https://github.com/Egorand/android-dagger-overrides","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Egorand/android-dagger-overrides","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Egorand%2Fandroid-dagger-overrides","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Egorand%2Fandroid-dagger-overrides/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Egorand%2Fandroid-dagger-overrides/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Egorand%2Fandroid-dagger-overrides/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Egorand","download_url":"https://codeload.github.com/Egorand/android-dagger-overrides/tar.gz/refs/heads/dagger1-overrides","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Egorand%2Fandroid-dagger-overrides/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265430336,"owners_count":23763983,"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":["android","android-dagger","dagger","dependency-injection"],"created_at":"2024-10-13T15:40:22.468Z","updated_at":"2025-07-15T11:05:12.115Z","avatar_url":"https://github.com/Egorand.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# android-dagger-overrides\n\nAn example of configuring Dagger modules to provide test doubles. \nCheck [Providing test doubles with Dagger 1 and Dagger 2](http://blog.egorand.me/providing-test-doubles-with-dagger-1-and-dagger-2/).\n\nThis repo contains the following branches:\n\n- dagger1-overrides - demonstrates the creation of a test module using the overrides parameter in Dagger 1\n- [dagger1](https://github.com/Egorand/android-dagger-overrides/tree/dagger1) - \n   demonstrates a clean solution using separate modules in Dagger 1\n- [dagger2-overrides](https://github.com/Egorand/android-dagger-overrides/tree/dagger2-overrides) - \n   demonstrates a hacky solution to override a module in Dagger 2\n- [dagger2](https://github.com/Egorand/android-dagger-overrides/tree/dagger2) - \n   demonstrates a clean solution using separate modules in Dagger 2\n\nLicense\n-------\n\n    Copyright 2016 Egor Andreevici\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%2Fegorand%2Fandroid-dagger-overrides","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegorand%2Fandroid-dagger-overrides","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegorand%2Fandroid-dagger-overrides/lists"}