Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ allprojects {
val ktlint by configurations.creating

dependencies {
ktlint("com.pinterest:ktlint:0.49.1") {
ktlint("com.pinterest:ktlint:0.50.0") {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To keep dependency management centralized and consistent with the rest of the project, consider defining the ktlint dependency in gradle/libs.versions.toml instead of hardcoding it here.

For example, add the following to gradle/libs.versions.toml:

[versions]
ktlint = "0.50.0"

[libraries]
ktlint = { module = "com.pinterest:ktlint", version.ref = "ktlint" }
    ktlint(libs.ktlint) {

attributes {
attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling.EXTERNAL))
}
Expand Down
Loading