Skip to content

Commit

Permalink
cortinico#340 Fix incorrect task description for format and check task
Browse files Browse the repository at this point in the history
  • Loading branch information
jessestricker authored Aug 17, 2024
1 parent 0d43625 commit 997a8de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Please add your entries according to this format.
## Unreleased

- Fix custom KtFmt tasks not compatible with configuration cache (#290)
- Fix mixed up task descriptions (#342)

## Version 0.19.0 _(2024-07-03)_

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ internal object KtfmtPluginUtils {
val inputDirs = srcDir.toList()
return project.tasks.register(taskName, KtfmtCheckTask::class.java) {
it.description =
"Run Ktfmt formatter for sourceSet '$name' on project '${project.name}'"
"Run Ktfmt formatter validation for sourceSet '$name' on project '${project.name}'"
it.setSource(inputDirs)
it.setIncludes(KtfmtPlugin.defaultIncludes)
it.setExcludes(KtfmtPlugin.defaultExcludes)
Expand All @@ -107,7 +107,7 @@ internal object KtfmtPluginUtils {
val inputDirs = srcDir.toList()
return project.tasks.register(taskName, KtfmtFormatTask::class.java) {
it.description =
"Run Ktfmt formatter validation for sourceSet '$name' on project '${project.name}'"
"Run Ktfmt formatter for sourceSet '$name' on project '${project.name}'"
it.setSource(inputDirs)
it.setIncludes(KtfmtPlugin.defaultIncludes)
it.setExcludes(KtfmtPlugin.defaultExcludes)
Expand Down

0 comments on commit 997a8de

Please sign in to comment.