Download Latest Version 1.8.0 source code.zip (2.4 MB)
Email in envelope

Get an email when there's a new version of ktlint

Home / 1.8.0
Name Modified Size InfoDownloads / Week
Parent folder
1.8.0 source code.tar.gz 2025-11-14 2.0 MB
1.8.0 source code.zip 2025-11-14 2.4 MB
README.md 2025-11-14 3.3 kB
ktlint.asc 2025-11-14 833 Bytes
ktlint 2025-11-13 71.5 MB
ktlint-1.8.0.zip 2025-11-13 65.2 MB
ktlint.bat 2025-11-13 660 Bytes
Totals: 7 Items   141.1 MB 0

🆕 Features

  • Set languageVersion to KOTLIN_2_0 to ensure metadata compatibility with Kotlin 2.0 - #3110, by @hugoncosta

  • Simplify creation of a custom ruleset - #3118, by @paul-dingemans

  • Add rule then-spacing - #3129, by @paul-dingemans

  • Add CLI option '--ignore-autocorrect-failures' - #3157, by @paul-dingemans

  • Allow _ as backing property name (needed for KEEP-412) - #3166, by @serras

  • Promote experimental rules to standard rules - #3171, by @paul-dingemans:

  • blank-line-between-when-conditions
  • kdoc
  • "mixed-condition-operators"
  • square-brackets-spacing
  • when-entry-bracing

🔧 Fixes

  • Fix link to maven wrapper - #3112, by @paul-dingemans

  • Fix links in documentation, and fix some typo's/formatting - #3127, by @paul-dingemans

  • Fix indent of function parameter with multiline expression in android_studio - #3131, by @paul-dingemans

  • fix(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.35.0 - #3169, by @renovate[bot]

💬 Other

  • Validate @SinceKtlint annotations with test and uniformize existing rules - #3101, by @hugoncosta

  • Fix snapshot repository location - #3106, by @paul-dingemans

  • Add code vulnerability scanning with CodeQL - #3113, by @paul-dingemans

  • Disable gradle build cache in code scanning workflow - #3116, by @paul-dingemans

  • Restrict access to GitHub token to "contents: read" - #3115, by @paul-dingemans

  • Change language for code-scanning workflow to 'kotlin' - #3117, by @paul-dingemans

  • Allow publication documents workflow to write to Github pages - #3121, by @paul-dingemans

  • Allow manual dispatch of workflow for publishing documentation - #3122, by @paul-dingemans

  • Set contents write permission on workflows for publishing documentation - #3123, by @paul-dingemans

  • Switch publication config to vanniktech's maven-publish plugin - #3068, by @mateuszkwiecinski

  • Add SECURITY.md file - #3114, by @paul-dingemans

  • Add public key to GitHub - #3139, by @shashachu

  • Ignore renovate updates for JUnit v6 as it requires Java17+ - #3146, by @paul-dingemans

Source: README.md, updated 2025-11-14