dvdciri/daggraph
소개
Android 개발자를 위한 Dagger 의존성 그래프 생성기
개발 도구What you can do
- @SubComponent - ✅ - ✅
- Field @Inject - ✅ - ✅
- Constructor @Inject - ❌ - ❌
- Component dependencies - ❌ - ❌
측정된 스타 증가
- in 24h
- +1
- in 7 days
- +1
- in 15 days
- -1
- in 1 month
- -7
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalDaggraph
Dagger dependency graph generator for Android Developers
Deprecation
This library is now deprecated in favour of solutions based directly on the Dagger PSI (BindingGraphPlugin). The project will no longer be maintained.
This is an example project that works pretty well: https://github.com/arunkumar9t2/scabbard.
Usage
Simple usage:
daggraph
<folder_path>
Export raw data:
daggraph raw
<folder_path>
Features
Those are the features that are currently supported and used to build the graph, some of them are work in progress while some other will be picked up at a later stage
| Feature | Java | Kotlin |
|---|---|---|
| @Module | ✅ | ✅ |
| @Component | ✅ | ✅ |
| @SubComponent | ✅ | ✅ |
| @Provides | ✅ | ✅ |
| Field @Inject | ✅ | ✅ |
| Constructor @Inject | ❌ | ❌ |
| @Named() | ✅ | ✅ |
| @Binds | ❌ | ❌ |
| Component dependencies | ❌ | ❌ |
| Extended modules | ❌ | ❌ |
| ActivityBuilder | ❌ | ❌ |
Install
npm install -g daggraph
Help
Usage
$ daggraph # uses current folder path
$ daggraph <path> # uses <path>
$ daggraph raw # uses current folder path and export the raw data
$ daggraph raw <path # uses <path> and export the raw data
Examples
$ daggraph /Path/to/android/project
Contribute
Feel free to contribute by checking out the issues and picking somethig up! 😄 (follow the general opensource contribution giudelines)
A big shout for the contributions:
Created by
License
MIT © Davide Cirillo
관련 프로젝트 살펴보기
불러오는 중…