{"adoption": {"forks": 91, "observed_at": "2026-08-28T04:04:37.730219+00:00", "stars": 1402}, "canonical_url": "https://ross.abutalabs.com/products/square-anvil", "card": {"archived": false, "artifact_type": "library", "description": "A Kotlin compiler plugin to make dependency injection with Dagger 2 easier.", "domain": ["developer-tools", "programming-languages", "android-tools"], "enriched": true, "function": ["compiler", "build-tool", "plugin-system"], "health_score": 94, "homepage": null, "language": "Kotlin", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["square/anvil"], "name": "square/anvil", "platform": ["jvm"], "pushed_at": "2026-08-18T04:36:34+00:00", "repo": "square/anvil", "stars": 1402, "tags": ["kotlin-compiler-plugin", "dagger2", "dependency-injection", "code-generation", "android", "gradle"], "topics": ["dagger2", "dagger2-android", "kotlin", "kotlin-compiler-plugin"], "urls": [], "use_cases": ["automatically merge Dagger modules into a component without listing them manually", "avoid manually extending component interfaces in multi-module Android apps", "reduce boilerplate in Dagger dependency injection setup", "contribute modules and interfaces to scoped Dagger components across Gradle modules", "generate Dagger component annotations at compile time"], "what_it_is": "Anvil is a Kotlin compiler plugin and Gradle plugin that simplifies dependency injection with Dagger 2 by automatically merging Dagger modules and component interfaces. It is now in maintenance mode, supporting only the K1 compiler with development ending when K2 becomes required.", "when_to_avoid": ["you are using or migrating to the K2 Kotlin compiler, since Anvil development ends there", "you are starting a new project and can choose a DI framework without Dagger boilerplate", "you need a solution with active long-term support"], "when_to_choose": []}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/square-anvil", "repo": "square/anvil", "role": "main", "score": 77}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.730219+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:38:59.798183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3f458bf63289897328d61eb4ab6462cda6020730d97a4d296ad0e7ccceeb6481", "fetched_at": "2026-08-28T04:04:37.730219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/anvil"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.730219+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:38:59.798183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3f458bf63289897328d61eb4ab6462cda6020730d97a4d296ad0e7ccceeb6481", "fetched_at": "2026-08-28T04:04:37.730219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/anvil"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:38:59.798183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3f458bf63289897328d61eb4ab6462cda6020730d97a4d296ad0e7ccceeb6481", "fetched_at": "2026-08-28T04:04:37.730219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/anvil"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.730219+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.730219+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.730219+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:38:59.798183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3f458bf63289897328d61eb4ab6462cda6020730d97a4d296ad0e7ccceeb6481", "fetched_at": "2026-08-28T04:04:37.730219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/anvil"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.730219+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.730219+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:38:59.798183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3f458bf63289897328d61eb4ab6462cda6020730d97a4d296ad0e7ccceeb6481", "fetched_at": "2026-08-28T04:04:37.730219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/anvil"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.730219+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.730219+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.730219+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:38:59.798183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3f458bf63289897328d61eb4ab6462cda6020730d97a4d296ad0e7ccceeb6481", "fetched_at": "2026-08-28T04:04:37.730219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/anvil"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.730219+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:37.730219+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:38:59.798183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3f458bf63289897328d61eb4ab6462cda6020730d97a4d296ad0e7ccceeb6481", "fetched_at": "2026-08-28T04:04:37.730219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/anvil"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:38:59.798183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3f458bf63289897328d61eb4ab6462cda6020730d97a4d296ad0e7ccceeb6481", "fetched_at": "2026-08-28T04:04:37.730219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/anvil"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:38:59.798183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3f458bf63289897328d61eb4ab6462cda6020730d97a4d296ad0e7ccceeb6481", "fetched_at": "2026-08-28T04:04:37.730219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/anvil"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:38:59.798183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3f458bf63289897328d61eb4ab6462cda6020730d97a4d296ad0e7ccceeb6481", "fetched_at": "2026-08-28T04:04:37.730219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/anvil"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 38}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2275, "days_push": 15, "days_rel": 335, "gap_med": 63.5, "n_releases_24m": 5}, "score": 77, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}