Skip to content

Commit

Permalink
Fix distribution empty directories (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
GregHib committed Jan 25, 2024
1 parent 3f63654 commit 5b4caca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ allprojects {
apply(plugin = "org.jetbrains.kotlin.jvm")

group = "world.gregs.void"
version = "1.0.1"
version = "1.0.2"

java.sourceCompatibility = JavaVersion.VERSION_19
java.targetCompatibility = java.sourceCompatibility
Expand Down
4 changes: 2 additions & 2 deletions game/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ distributions {
}
val emptyDirs = listOf("cache", "saves")
for (dir in emptyDirs) {
val file = layout.buildDirectory.get().dir("/tmp/$dir/").asFile
val file = layout.buildDirectory.get().dir("tmp/empty/$dir/").asFile
file.mkdirs()
}
from(layout.buildDirectory.dir("tmp/")) {
from(layout.buildDirectory.dir("tmp/empty/")) {
into("data")
}
from(layout.projectDirectory.dir("src/main/resources/game.properties"))
Expand Down

0 comments on commit 5b4caca

Please sign in to comment.