ktrs 0.5.0

Fast Kotlin formatter and linter: ktfmt-identical formatting and ktlint-identical linting, with drop-in `ktfmt` and `ktlint` binaries
ktrs
Copyright 2026 ktrs contributors

This product contains code ported from, and test data copied from, the Kotlin
compiler (https://github.com/JetBrains/kotlin), Copyright 2010-2026 JetBrains s.r.o.
and Kotlin Programming Language contributors, licensed under the Apache License 2.0.

This product contains code ported from IntelliJ Platform (PsiBuilder semantics)
(https://github.com/JetBrains/intellij-community), Copyright 2000-2026 JetBrains s.r.o.,
licensed under the Apache License 2.0.

This product contains code ported from, and test data copied from, ktfmt
(https://github.com/facebook/ktfmt), Copyright (c) Meta Platforms, Inc. and affiliates,
licensed under the Apache License 2.0.

This product contains code ported from google-java-format (the Doc/Ops layout engine
ktfmt builds on) (https://github.com/google/google-java-format), Copyright 2015 Google Inc.,
licensed under the Apache License 2.0.

This product contains code ported from ec4j (https://github.com/ec4j/ec4j), Copyright
the ec4j contributors, licensed under the Apache License 2.0.

This product contains code ported from, and test data copied from, ktlint
(https://github.com/pinterest/ktlint), Copyright 2026 Ktlint, Copyright 2019-2026
Pinterest, Inc., Copyright 2016-2019 Stanley Shyiko, licensed under the MIT License
(below).

The Gradle plugin (java/gradle-plugin) contains code and tests ported from ktfmt-gradle
(https://github.com/cortinico/ktfmt-gradle), Copyright (c) 2020-2022 Nicola Corti,
licensed under the MIT License (below).

The Maven plugin (java/maven-plugin) contains code ported from ktlint-maven-plugin
(https://github.com/gantsign/ktlint-maven-plugin), Copyright (C) 2018 GantSign Ltd.,
licensed under the MIT License (below).

--------------------------------------------------------------------------------
MIT License (ktlint, ktfmt-gradle, ktlint-maven-plugin)

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be included in all copies
or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.