Skip to content

Commit

Permalink
Update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.…
Browse files Browse the repository at this point in the history
…23.2 (#133)

* Update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.23.2

* fix: breaking spotless configuration

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Maxwell <[email protected]>
  • Loading branch information
renovate[bot] and wax911 authored Dec 5, 2023
1 parent 432df21 commit 25d8b7e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ open class CorePlugin : Plugin<Project> {
target.configureDependencies()
if (!target.isSampleModule()) {
target.configureSources()
target.configureSpotless()
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ internal fun Project.configureSpotless() {
"bin/**/*.kt"
)
ktlint(libs.versions.ktlint.get().toString())
.userData(mapOf("android" to "true",))
licenseHeaderFile(rootProject.file("spotless/copyright.kt"))
}
}
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
ktlint = "0.50.0"
ktlint = "1.0.1"

gradle-plugin = "8.2.0"

Expand Down Expand Up @@ -75,7 +75,7 @@ mockk-android = { module = "io.mockk:mockk-android", version.ref = "io-mockk" }

gradle-versions = "com.github.ben-manes:gradle-versions-plugin:0.50.0"

spotless-gradle = "com.diffplug.spotless:spotless-plugin-gradle:6.22.0"
spotless-gradle = "com.diffplug.spotless:spotless-plugin-gradle:6.23.2"

squareup-kotlinpoet = "com.squareup:kotlinpoet:1.15.2"

Expand Down

0 comments on commit 25d8b7e

Please sign in to comment.