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

In gradle plugin, should check if config file is relative to current project dir #703

Closed
petertrr opened this issue Jan 13, 2021 · 0 comments · Fixed by #706
Closed

In gradle plugin, should check if config file is relative to current project dir #703

petertrr opened this issue Jan 13, 2021 · 0 comments · Fixed by #706
Assignees
Labels
bug Something isn't working plugins Plugins for build systems to allow them to run diktat

Comments

@petertrr
Copy link
Member

Gradle's file API (project.files()) always returns absolute paths. When using java.io.File to specify diktat config location, looking for file in parent dirs works; when using project.file() it does not.

@petertrr petertrr added bug Something isn't working plugins Plugins for build systems to allow them to run diktat labels Jan 13, 2021
@petertrr petertrr self-assigned this Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugins Plugins for build systems to allow them to run diktat
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant