From fc769349d55c81c846c742f418f5c40084709c0e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 27 Nov 2023 07:44:58 +0000 Subject: [PATCH] fix(deps): update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.23.0 (#419) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.diffplug.spotless:spotless-plugin-gradle](https://togithub.com/diffplug/spotless) | `6.22.0` -> `6.23.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.diffplug.spotless:spotless-plugin-gradle/6.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.diffplug.spotless:spotless-plugin-gradle/6.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.diffplug.spotless:spotless-plugin-gradle/6.22.0/6.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.diffplug.spotless:spotless-plugin-gradle/6.22.0/6.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/msfjarvis/compose-lobsters). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya --- .../kotlin/dev/msfjarvis/claw/gradle/SpotlessPlugin.kt | 7 +++++-- gradle/libs.versions.toml | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/build-logic/src/main/kotlin/dev/msfjarvis/claw/gradle/SpotlessPlugin.kt b/build-logic/src/main/kotlin/dev/msfjarvis/claw/gradle/SpotlessPlugin.kt index e61706b3..6e7feabe 100644 --- a/build-logic/src/main/kotlin/dev/msfjarvis/claw/gradle/SpotlessPlugin.kt +++ b/build-logic/src/main/kotlin/dev/msfjarvis/claw/gradle/SpotlessPlugin.kt @@ -14,6 +14,7 @@ import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.kotlin.dsl.apply import org.gradle.kotlin.dsl.configure +import org.gradle.kotlin.dsl.withGroovyBuilder import org.gradle.kotlin.dsl.withType @Suppress("Unused") @@ -26,13 +27,15 @@ class SpotlessPlugin : Plugin { project.pluginManager.apply(SpotlessPlugin::class) project.extensions.configure { kotlin { - ktfmt(KTFMT_VERSION).googleStyle() + // https://github.com/diffplug/spotless/pull/1890#issuecomment-1827263031 + @Suppress("INACCESSIBLE_TYPE") ktfmt(KTFMT_VERSION).withGroovyBuilder { "googleStyle"() } target("**/*.kt") targetExclude("**/build/", "/spotless/") licenseHeaderFile(project.file("spotless/license.kt")) } kotlinGradle { - ktfmt(KTFMT_VERSION).googleStyle() + // https://github.com/diffplug/spotless/pull/1890#issuecomment-1827263031 + @Suppress("INACCESSIBLE_TYPE") ktfmt(KTFMT_VERSION).withGroovyBuilder { "googleStyle"() } target("**/*.kts") targetExclude("**/build/") licenseHeaderFile(project.file("spotless/license.kt"), "import|plugins|@file") diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 52069efb..1c50b811 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -53,7 +53,7 @@ build-cachefix = "org.gradle.android.cache-fix:org.gradle.android.cache-fix.grad build-kotlin-gradle = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" } build-semver = "com.vdurmont:semver4j:3.1.0" build-sentry = "io.sentry.android.gradle:io.sentry.android.gradle.gradle.plugin:3.14.0" -build-spotless = "com.diffplug.spotless:spotless-plugin-gradle:6.22.0" +build-spotless = "com.diffplug.spotless:spotless-plugin-gradle:6.23.0" build-vcu = "nl.littlerobots.version-catalog-update:nl.littlerobots.version-catalog-update.gradle.plugin:0.8.1" build-versions = "com.github.ben-manes:gradle-versions-plugin:0.49.0" coil = { module = "io.coil-kt:coil", version.ref = "coil" }