vanniktech/gradle-dependency-graph-generator-plugin

Do you have example of project with custom graph generator?

st4ycool opened this issue · 6 comments

Do you have example of project with custom graph generator?

Maybe @SimonMarquis has? Otherwise the README should be enough

Well, instead of using dependencyGraphGenerator (or DependencyGraphGeneratorExtension in Kotlin), replace it with projectDependencyGraphGenerator (or ProjectDependencyGraphGeneratorExtension in Kotlin).

Both configurations shares a lot in common, then you can use your IDE autocomplete feature to browse through the options.

@vanniktech do you think a dedicated example should be added to the README?

I think something like this is meant: https://github.com/vanniktech/gradle-dependency-graph-generator-plugin#generator-example but maybe more complex? I don't know. I'd say we have pretty good documentation

Actually I never created gradle tasks in separate files with import, spent like 15 minutes but failed in the end. My goal was dependency graph of my feature modules...

Just use the generateProjectDependencyGraph task for that

Will try and be back