diktat VS ktlint-gradle

Compare diktat vs ktlint-gradle and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
diktat ktlint-gradle
5 3
503 1,392
0.8% -
8.9 7.1
3 days ago 4 days ago
Kotlin Kotlin
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

diktat

Posts with mentions or reviews of diktat. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-10.

ktlint-gradle

Posts with mentions or reviews of ktlint-gradle. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-28.
  • [Question] disable ktlint rules with ktlint-gradle version 12.0.2
    1 project | /r/KotlinAndroid | 5 Dec 2023
    buildscript { . . . dependencies { classpath 'com.android.tools.build:gradle:8.1.4' classpath "org.jlleitschuh.gradle:ktlint-gradle:12.0.2" // https://github.com/JLLeitschuh/ktlint-gradle/releases . . } } allprojects { . . . apply plugin: "org.jlleitschuh.gradle.ktlint" }
  • Ktlint automation for a team
    2 projects | /r/Kotlin | 28 Mar 2022
    Ktlint Gradle has a task addKtlintFormatGitPreCommitHook. Never used it though.
  • Supercharge your Kotlin Project
    5 projects | dev.to | 20 Oct 2021
    ext { // https://github.com/JLLeitschuh/ktlint-gradle/releases ktlintPluginVersion = "10.2.0" } dependencies { classpath 'com.android.tools.build:gradle:7.0.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.32" ## KTLINT DEPENDENCY classpath "org.jlleitschuh.gradle:ktlint-gradle:$ktlintPluginVersion" }

What are some alternatives?

When comparing diktat and ktlint-gradle you can also consider the following projects:

ktfmt - A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.

ktlint - An anti-bikeshedding Kotlin linter with built-in formatter

BrBa-Compose - 🧪 ☠︎ Jetpack Compose - Breaking Bad

kotlinter-gradle - Painless, fast ktlint plugin for Gradle

AutoBindings - Set of annotations that aims to make your Android development experience easier along with lint checks.

spring-petclinic-kotlin - Kotlin version of Spring Petclinic

Posts-MVVM-DaggerHilt-Dynamic-Feature-RxJava3-Flow-Sample - Posts Api sample with Kotlin RxJava3/Coroutines Flow, Clean Architecture, Offline first/last with Room + Retrofit2, Dagger Hilt, Dynamic Feature Modules, Static Code Analysis, Gradle DSL, MockK+ MockWebServer with Test Driven Development including Api and Database tests

detekt - Static code analysis for Kotlin

awesome-jetpack-compose-learning-resources - 👓 A continuously updated list of learning Jetpack Compose for Android apps.

gotrue-kt - Kotlin Client for GoTrue API

compose-rules - Static checks to aid with a healthy adoption of Compose

hands_on_kotlin - Experiments with Compose and latest architecture patterns in Kotlin