{"id":13471062,"url":"https://github.com/square/dagger","last_synced_at":"2025-10-05T19:30:16.526Z","repository":{"id":4164030,"uuid":"5279091","full_name":"square/dagger","owner":"square","description":"A fast dependency injector for Android and Java.","archived":true,"fork":false,"pushed_at":"2021-08-26T11:07:52.000Z","size":6861,"stargazers_count":7315,"open_issues_count":63,"forks_count":3053,"subscribers_count":406,"default_branch":"master","last_synced_at":"2024-04-13T17:52:09.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://square.github.io/dagger/","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/square.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-02T23:25:32.000Z","updated_at":"2024-04-05T21:32:25.000Z","dependencies_parsed_at":"2022-06-25T19:39:33.580Z","dependency_job_id":null,"html_url":"https://github.com/square/dagger","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/square%2Fdagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/square%2Fdagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/square%2Fdagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/square%2Fdagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/square","download_url":"https://codeload.github.com/square/dagger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235432258,"owners_count":18989484,"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-07-31T16:00:39.186Z","updated_at":"2025-10-05T19:30:14.962Z","avatar_url":"https://github.com/square.png","language":"Java","readme":"Dagger 1\n========\n\nA fast dependency injector for Android and Java.\n\n\nDeprecated – Please upgrade to Dagger 2\n---------------------------------------\n\nSquare's Dagger 1.x is deprecated in favor of [Google's Dagger 2](https://github.com/google/dagger).\nPlease see [the migration guide](https://google.github.io/dagger/dagger-1-migration.html) for help\nwith the upgrade.\n\n\nDownload Dagger 1\n-----------------\n\nYou will need to include the `dagger-${dagger.version}.jar` in your\napplication's runtime.  In order to activate code generation you will need to\ninclude `dagger-compiler-${dagger.version}.jar` in your build at compile time.\n\nIn a Maven project, one would include the runtime in the dependencies section\nof your `pom.xml` (replacing `${dagger.version}` with the appropriate current\nrelease), and the `dagger-compiler` artifact as an \"optional\" or \"provided\"\ndependency:\n\n```xml\n\u003cdependencies\u003e\n  \u003cdependency\u003e\n    \u003cgroupId\u003ecom.squareup.dagger\u003c/groupId\u003e\n    \u003cartifactId\u003edagger\u003c/artifactId\u003e\n    \u003cversion\u003e${dagger.version}\u003c/version\u003e\n  \u003c/dependency\u003e\n  \u003cdependency\u003e\n    \u003cgroupId\u003ecom.squareup.dagger\u003c/groupId\u003e\n    \u003cartifactId\u003edagger-compiler\u003c/artifactId\u003e\n    \u003cversion\u003e${dagger.version}\u003c/version\u003e\n    \u003coptional\u003etrue\u003c/optional\u003e\n  \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\nYou can also find downloadable .jars on Maven Central. You'll need\n[Dagger][dl-dagger], [JavaPoet][dl-javapoet], and [javax.inject][dl-inject].\n\nSnapshots of the development version are available in [Sonatype's `snapshots` repository][snap].\n\n\n\nLicense\n-------\n\n    Copyright 2012 Square, Inc.\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\n\n\n [1]: http://square.github.com/dagger/\n [dl-dagger]: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.squareup.dagger%22%20a%3A%22dagger%22\n [dl-javapoet]: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.squareup%22%20a%3A%22javapoet%22\n [dl-inject]: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22javax.inject%22%20a%3A%22javax.inject%22\n [snap]: https://oss.sonatype.org/content/repositories/snapshots/\n","funding_links":[],"categories":["Java","CN","Index","Android","I. Development","Libs"],"sub_categories":["[Square](https://github.com/square)","Dependency Injections","6. Useful libraries","\u003cA NAME=\"Injector\"\u003e\u003c/A\u003eInjector"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquare%2Fdagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquare%2Fdagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquare%2Fdagger/lists"}