create resources dir if not exist

This commit is contained in:
dfsek
2022-07-07 18:49:33 -07:00
parent 59af552be2
commit eb79a6f762

View File

@@ -105,6 +105,7 @@ fun Project.configureDistribution() {
val manifest = File("${project.buildDir}/resources/main/resources.yml")
if (manifest.exists()) manifest.delete()
manifest.parentFile.mkdirs()
manifest.createNewFile()
FileWriter(manifest).use {
yaml.dump(resources, it)