Skip to content

Commit 97f91aa

Browse files
renovate[bot]loosebazooka
authored andcommitted
Update spotless to v8.6.0
Need to add spotless at root to avoid shared build service issue Add renovate config to group updates Signed-off-by: Appu <appu@google.com>
1 parent 4a63f43 commit 97f91aa

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

build-logic/jvm/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repositories {
99
dependencies {
1010
implementation(project(":basics"))
1111
implementation(project(":build-parameters"))
12-
implementation("com.diffplug.spotless:com.diffplug.spotless.gradle.plugin:8.1.0")
12+
implementation("com.diffplug.spotless:com.diffplug.spotless.gradle.plugin:8.6.0")
1313
implementation("com.github.vlsi.gradle-extensions:com.github.vlsi.gradle-extensions.gradle.plugin:3.0.2")
1414
implementation("de.thetaphi.forbiddenapis:de.thetaphi.forbiddenapis.gradle.plugin:3.10")
1515
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin")

build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ plugins {
66
id("com.gradleup.nmcp.aggregation") version "1.4.0"
77
// The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build.
88
`embedded-kotlin` apply false
9+
// The Spotless plugin uses a shared build service. Load it at the root project level to avoid classloader collision in subprojects.
10+
id("com.diffplug.spotless") version "8.6.0" apply false
911
}
1012

1113
val calculatedVersion = property("version") as String + (if (hasProperty("release")) "" else "-SNAPSHOT")

renovate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
{
3434
"matchPackagePrefixes": ["com.gradleup.nmcp"],
3535
"groupName": "gradleup_nmcp"
36+
},
37+
{
38+
"matchPackagePrefixes": ["com.diffplug.spotless"],
39+
"groupName": "spotless"
3640
}
3741
]
3842
}

0 commit comments

Comments
 (0)