mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-22 16:17:20 +00:00
create resources dir if not exist
This commit is contained in:
1 parent
59af552be2
commit
eb79a6f762
1 file changed
+1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user