Skip to content

Commit

Permalink
Build script fix
Browse files Browse the repository at this point in the history
  • Loading branch information
husker-dev committed Jan 27, 2022
1 parent 3e23b60 commit 3c43e61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

allprojects {
version = "2.5.2"
version = "2.6"
}

repositories {
Expand Down Expand Up @@ -43,8 +43,8 @@ task compileAll {
group 'release'
doLast {
Path out = Paths.get("$projectDir/build/libs")
if(Files.exists(out)) {
Files.walk(out)
if(Files.exists(out.parent)) {
Files.walk(out.parent)
.sorted(Comparator.reverseOrder())
.map { it.toFile() }
.forEach { it.delete() }
Expand Down

0 comments on commit 3c43e61

Please sign in to comment.