Skip to content

Commit

Permalink
Make sure clean also removes the root build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rock3r committed Feb 15, 2024
1 parent b73f72b commit ef215a7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,12 @@ tasks {
logger.info("All done!")
}
}

register<Delete>("cleanTestPublishArtifacts") {
delete(rootProject.layout.buildDirectory.dir("maven-test"))
}

register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}
}

0 comments on commit ef215a7

Please sign in to comment.