You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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').
The text was updated successfully, but these errors were encountered:
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.
If
buildDir
is redefined (for example by settingbuildDir = file 'gradle-build'
inbuild.gradle
),useLatestVersions
fails withjava.nio.file.NoSuchFileException
while trying to opendependencyUpdates/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 likenew File(project.buildDir, 'dependencyUpdates' + File.separator + 'report.json')
.The text was updated successfully, but these errors were encountered: