Skip to content

Commit

Permalink
Make gradle build depend on gradle ktfmtCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Feb 19, 2022
1 parent 3445670 commit 55f58e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,7 @@ ktfmt {
kotlinLangStyle()
}

build.dependsOn ktfmtCheck

installDist.finalizedBy fixFilePermissions
build.finalizedBy installDist
2 changes: 2 additions & 0 deletions shared/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ ktfmt {
// KotlinLang style - 4 space indentation - From kotlinlang.org/docs/coding-conventions.html
kotlinLangStyle()
}

build.dependsOn ktfmtCheck

0 comments on commit 55f58e8

Please sign in to comment.