Skip to content

Commit eb79a6f

Browse files
committed
create resources dir if not exist
1 parent 59af552 commit eb79a6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

buildSrc/src/main/kotlin/DistributionConfig.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ fun Project.configureDistribution() {
105105
val manifest = File("${project.buildDir}/resources/main/resources.yml")
106106

107107
if (manifest.exists()) manifest.delete()
108+
manifest.parentFile.mkdirs()
108109
manifest.createNewFile()
109110
FileWriter(manifest).use {
110111
yaml.dump(resources, it)

0 commit comments

Comments
 (0)