Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5033

Kotlin and Scala check task depends on spotlessApply

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.10.1
    • Affects Version/s: None
    • Component/s: Build, Test Improvement
    • None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      While convenient, this does mean checked in source code (that hasn't run check) can be reformatted causing a build to be marked dirty.

      1. Use a githook to run spotlessApply automagically.
      Make check depend on spotlessCheck and fail if spotless hasn't been run
      2. Add a spotlessCheck to static checks in evergreen

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: