Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do you have example of project with custom graph generator? #192

Open
st4ycool opened this issue Aug 26, 2022 · 6 comments
Open

Do you have example of project with custom graph generator? #192

st4ycool opened this issue Aug 26, 2022 · 6 comments

Comments

@st4ycool
Copy link

No description provided.

@vanniktech
Copy link
Owner

Maybe @SimonMarquis has? Otherwise the README should be enough

@SimonMarquis
Copy link
Contributor

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?

@vanniktech
Copy link
Owner

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

@st4ycool
Copy link
Author

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...

@vanniktech
Copy link
Owner

Just use the generateProjectDependencyGraph task for that

@st4ycool
Copy link
Author

Will try and be back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants