Skip to content

Commit

Permalink
Add gradle task clean (#2185)
Browse files Browse the repository at this point in the history
  • Loading branch information
shobhitagarwal1612 authored Jan 13, 2024
1 parent e223801 commit ed6656a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,13 @@ detekt {
basePath = projectDir
}

task checkCode(type: GradleBuild) {
tasks.register('checkCode', GradleBuild) {
tasks = ['checkstyle', 'lintLocalDebug', 'ktfmtCheck', 'detekt']
}

// TODO(#2183): Add task to remove files in `build` on clean.
tasks.register('clean', Delete) {
delete rootProject.buildDir
}

// https://github.com/passsy/gradle-gitVersioner-plugin
apply plugin: "com.pascalwelsch.gitversioner"
Expand Down

0 comments on commit ed6656a

Please sign in to comment.