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

Please print build.gradle paths #1114

Open
rjrjr opened this issue Jan 26, 2024 · 4 comments
Open

Please print build.gradle paths #1114

rjrjr opened this issue Jan 26, 2024 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@rjrjr
Copy link

rjrjr commented Jan 26, 2024

It would be nice if the buildHealth / projectHealth reports posted paths to gradle files, for easier copy / paste into the IDE's Open File field.

common/addons-ui/common/public/build.gradle >> :common:addons-ui:common:public

@autonomousapps autonomousapps added enhancement New feature or request help wanted Extra attention is needed labels Jan 26, 2024
@autonomousapps autonomousapps added this to the after next milestone Jan 26, 2024
@autonomousapps
Copy link
Owner

Thanks for the issue! I don't have time to work on it right now, but I think it might be a relatively simple PR if someone wants to implement it themselves. I will only note that it should support build.gradle and build.gradle.kts paths.

@handstandsam
Copy link

Implementation Callout: File paths don't always match Gradle Paths, so a .replace("/", ":") isn't smart enough to handle those cases.

Example: https://stackoverflow.com/a/19303545

include ":logger"
project(":logger").projectDir = file("../the-logger-module-folder")

@autonomousapps
Copy link
Owner

seregamorph added a commit to seregamorph/dependency-analysis-gradle-plugin that referenced this issue Apr 27, 2024
@seregamorph
Copy link
Contributor

This PR solves request for projectHealth (not buildHealth yet) #1178

seregamorph added a commit to seregamorph/dependency-analysis-gradle-plugin that referenced this issue Apr 29, 2024
seregamorph added a commit to seregamorph/dependency-analysis-gradle-plugin that referenced this issue May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants