Splitties / refreshVersions

Life is too short to google for dependencies and versions
https://splitties.github.io/refreshVersions/
MIT License
1.65k stars 107 forks source link

versionsPropertiesFile with a directory that does not exist fails #662

Open Vampire opened 1 year ago

Vampire commented 1 year ago

If you configure a non-existent directory for versionsPropertiesFile like

refreshVersions {
    versionsPropertiesFile = file("build/tmp/refreshVersions/versions.properties")
}

the build fails with an exception. As a work-around you can create the diretory like

refreshVersions {
    file("build/tmp/refreshVersions").mkdirs()
    versionsPropertiesFile = file("build/tmp/refreshVersions/versions.properties")
}