{"id":13902523,"url":"https://github.com/mariodujic/Android-multimodule-dependency-graph","last_synced_at":"2025-07-18T00:31:36.990Z","repository":{"id":48696459,"uuid":"516847268","full_name":"mariodujic/Android-multimodule-dependency-graph","owner":"mariodujic","description":"Creates a dependency graph for an Android multimodule project.","archived":false,"fork":false,"pushed_at":"2023-03-17T20:23:53.000Z","size":268,"stargazers_count":58,"open_issues_count":0,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-07-27T10:32:13.181Z","etag":null,"topics":["android","dependency-analysis","dependency-graph"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mariodujic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-07-22T18:15:04.000Z","updated_at":"2024-05-25T02:34:20.000Z","dependencies_parsed_at":"2024-03-30T23:32:36.775Z","dependency_job_id":"a8145039-3d8f-4adc-aff0-f8792d673ac3","html_url":"https://github.com/mariodujic/Android-multimodule-dependency-graph","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariodujic%2FAndroid-multimodule-dependency-graph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariodujic%2FAndroid-multimodule-dependency-graph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariodujic%2FAndroid-multimodule-dependency-graph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariodujic%2FAndroid-multimodule-dependency-graph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mariodujic","download_url":"https://codeload.github.com/mariodujic/Android-multimodule-dependency-graph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":214260257,"owners_count":15707069,"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","dependency-analysis","dependency-graph"],"created_at":"2024-08-06T22:01:11.246Z","updated_at":"2024-08-06T22:03:28.570Z","avatar_url":"https://github.com/mariodujic.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Intro\n\nGenerates dependency graph for project modules in Android multimodule project. Works only if modules have their project\ndependencies declared in their `build.gradle` file. In case of a circular dependency, modules that cause circular\ndependency will be marked on a dependency graph with different color.\n\n### How it works\n\nProject modules are retrieved from `settings.gradle`, and each module `build.gradle` is checked for a dependencies.\n\u003cbr\u003e\n\u003cbr\u003e\nExample where module `app` has a dependency on module `core:navigation`:\n\n```groovy\n\u003e settings.gradle\n\ninclude ':app'\ninclude ':core:navigation'\n```\n\n```groovy\n\u003e app \u003e build.gradle\n\ndependencies {\n    implementation project(':core:navigation')\n}\n```\n\n\u003cbr\u003e\nGenerated dependency graph:\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"preview/dependency_graph.jpg\"  width=\"100%\"/\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\nCircular dependency graph:\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"preview/circular_dependency_graph.jpg\"  width=\"100%\"/\u003e\n\u003c/div\u003e\n\n# Instructions\n\n- Install python dependencies from `requirements.txt` file.\n- Run `python main.py`\n- Enter Android project path.\n\nYou can also pass in the project path as an argument: `python main.py {project_path}`\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\nTested on Chris Banes [Tivi](https://github.com/chrisbanes/tivi)\nand Google's [Now in Android](https://github.com/android/nowinandroid) projects.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariodujic%2FAndroid-multimodule-dependency-graph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmariodujic%2FAndroid-multimodule-dependency-graph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariodujic%2FAndroid-multimodule-dependency-graph/lists"}