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

Plugin uses hard coded build dir #24

Closed
eikemeier opened this issue May 23, 2019 · 2 comments
Closed

Plugin uses hard coded build dir #24

eikemeier opened this issue May 23, 2019 · 2 comments

Comments

@eikemeier
Copy link

If buildDir is redefined (for example by setting buildDir = file 'gradle-build' in build.gradle), useLatestVersions fails with java.nio.file.NoSuchFileException while trying to open dependencyUpdates/report.json.

This is because UseLatestVersionsCheckTask looks for new File(project.projectDir, 'build' + File.separator + 'dependencyUpdates' + File.separator + 'report.json') while it should probably be something like new File(project.buildDir, 'dependencyUpdates' + File.separator + 'report.json').

@patrikerdes
Copy link
Owner

Yes, that seems very much like a bug to me. Thanks for reporting it and suggesting a fix for it. I'll probably have time to make a fix and release a new version over the weekend.

@patrikerdes
Copy link
Owner

This is now released in 0.2.10

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

2 participants