ktlint-gradle
diktat
Our great sponsors
ktlint-gradle | diktat | |
---|---|---|
3 | 5 | |
1,392 | 502 | |
- | 2.4% | |
7.3 | 9.0 | |
21 days ago | 8 days ago | |
Kotlin | Kotlin | |
MIT License | 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.
ktlint-gradle
-
[Question] disable ktlint rules with ktlint-gradle version 12.0.2
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
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" }
diktat
- Diktat linter 1.2.0 released: like share and subscribe ☺️
-
Diktat 1.0.0 released
We are happy to announce that after a year of development, communication and collaboration with awesome ktlint and kotlin community, our small group of enthusiasts has finally stabilized our code analyzer, called Diktat.
- Looking for some project based tutorial
-
can't use kotlinx.serialization with maven
It's true that kotlin support in gradle is much better, but I have successfully used serialization with maven (pom.xml just in case, not really relevant here, because we use yaml instead of json and no java sources). Didn't use javafx or jlink, though. Maven usually needs more configuration and it looks more verbose because of xml.
What are some alternatives?
ktlint - An anti-bikeshedding Kotlin linter with built-in formatter
ktfmt - A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.
kotlinter-gradle - Painless, fast ktlint plugin for Gradle
BrBa-Compose - 🧪 ☠︎ Jetpack Compose - Breaking Bad
spring-petclinic-kotlin - Kotlin version of Spring Petclinic
AutoBindings - Set of annotations that aims to make your Android development experience easier along with lint checks.
detekt - Static code analysis for Kotlin
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
gotrue-kt - Kotlin Client for GoTrue API
awesome-jetpack-compose-learning-resources - 👓 A continuously updated list of learning Jetpack Compose for Android apps.
carthage-gradle-plugin - Gradle plugin for Carthage
compose-rules - Static checks to aid with a healthy adoption of Compose