Skip to content

Upgrade from ktlint to ktlint-cli 1.8.0#1105

Open
cwperks wants to merge 2 commits intoopensearch-project:mainfrom
cwperks:upgrade-ktlint
Open

Upgrade from ktlint to ktlint-cli 1.8.0#1105
cwperks wants to merge 2 commits intoopensearch-project:mainfrom
cwperks:upgrade-ktlint

Conversation

@cwperks
Copy link
Copy Markdown
Member

@cwperks cwperks commented Dec 4, 2025

Description

Similar to #1103, but this PR updates the dependency that is bringing an outdated version of logback-core in.

In order to update this dependency I needed to fix all errors from ./gradlew ktlintFormat which included:

  • Suppressing warnings with bad variable names
  • Wrapping long strings in multiple lines
  • Creating values into actual constants

A lot of files are touched since ./gradlew ktlintFormat will auto-format the code.

com.pinterest:ktlint is no longer supported and was moved: https://mvnrepository.com/artifact/com.pinterest/ktlint

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Craig Perkins <cwperx@amazon.com>
@Hailong-am Hailong-am requested a review from toepkerd as a code owner January 13, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants