kotlinter-gradle
ktlint-gradle
Our great sponsors
kotlinter-gradle | ktlint-gradle | |
---|---|---|
2 | 3 | |
555 | 1,384 | |
- | - | |
7.0 | 7.3 | |
6 days ago | 7 days ago | |
Kotlin | Kotlin | |
Apache License 2.0 | MIT License |
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.
kotlinter-gradle
-
Google's Kotlin Style Guide vs Kotlin Official Code Style
I'm using the kotlinter plugin which is a zero-configuration above the excellent ktlint engine.
-
Ktlint automation for a team
https://github.com/jeremymailen/kotlinter-gradle Follow the instructions, someone will have to make tasks to add it to all of your existing Kotlin repos.
ktlint-gradle
-
Ktlint automation for a team
Ktlint Gradle has a task addKtlintFormatGitPreCommitHook. Never used it though.
-
Supercharge your Kotlin Project
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?
ktlint - An anti-bikeshedding Kotlin linter with built-in formatter
diktat - Strict coding standard for Kotlin and a custom set of rules for detecting code smells, code style issues and bugs
detekt - Static code analysis for Kotlin
spring-petclinic-kotlin - Kotlin version of Spring Petclinic
carthage-gradle-plugin - Gradle plugin for Carthage
gotrue-kt - Kotlin Client for GoTrue API
hands_on_kotlin - Experiments with Compose and latest architecture patterns in Kotlin
kotlin-android-template - Android + Kotlin + Github Actions + ktlint + Detekt + Gradle Kotlin DSL + buildSrc = ❤️
keycloakmigration - Manage your Keycloak configuration with code.
ktfmt - A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.
ktfmt-gradle - A Gradle plugin to apply ktfmt to your builds, and reformat you Kotlin source code like a glimpse 🧹🐘
gradle-plugins-first-steps - 🧞♂️ First Steps Developing Custom Gradle Plugins