Uploaded image for project: 'SimplyE 2.0'
  1. SimplyE 2.0
  2. SIMPLY-3649

Make ktlint happen automatically

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • Android
    • SIMPLY S7 March 30 - April 13

      Currently, developers (and CI) are required to explicitly run the `ktlint` goal in order to ensure source code meets style standards. Unfortunately, most people (including myself) occasionally forget to do this before committing, so the CI fails the build. We should make the standard `build` or `assemble` tasks dependent on running `ktlint` so that developers can't forget to do it.

      Requirements:

      • Make the standard `./gradlew clean assemble test` invocation run ktlint automatically

      Acceptance criteria:

      • Our standard build instructions run ktlint automatically, and noone submits a PR that fails ever again.

            Unassigned Unassigned
            markraynsford Mark Raynsford
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: