Skip to content

Commit 19cce04

Browse files
authored
chore(deps): bump com.diffplug.spotless from 8.1.0 to 8.6.0 (#71)
2 parents 2d07c2d + f8d102a commit 19cce04

8 files changed

Lines changed: 24 additions & 25 deletions

File tree

build-plugin/plugin/src/main/kotlin/net/thunderbird/gradle/plugin/versioning/VersionBumpTask.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,11 @@ abstract class VersionBumpTask : DefaultTask() {
4242

4343
val bumped = when (part.get().lowercase()) {
4444
"major" -> version.bumpMajor()
45+
4546
"minor" -> version.bumpMinor()
47+
4648
"patch" -> version.bumpPatch()
49+
4750
else -> throw IllegalArgumentException(
4851
"Invalid part to bump: ${part.get()}. Expected: major, minor, or patch.",
4952
)

build-plugin/plugin/src/main/kotlin/net/thunderbird/gradle/plugin/versioning/internal/PropertiesWriter.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ class PropertiesWriter {
2222
lines[0] = "# Generated by VersioningPlugin"
2323
lines[1] = "# $formattedDate"
2424
}
25+
2526
lines.isNotEmpty() && lines[0].startsWith("#") -> {
2627
lines[0] = "# Generated by VersioningPlugin"
2728
lines.add(1, "# $formattedDate")
2829
}
30+
2931
else -> {
3032
lines.add(0, "# Generated by VersioningPlugin")
3133
lines.add(1, "# $formattedDate")

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ plugins {
1818
tasks.named<Wrapper>("wrapper") {
1919
gradleVersion = libs.versions.gradle.get()
2020
distributionType = Wrapper.DistributionType.ALL
21+
distributionSha256Sum = libs.versions.gradleSha256.get()
2122
}

gradle/libs.versions.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ androidXActivity = "1.10.1"
1515
dependencyCheckPlugin = "0.53.0"
1616
detektPlugin = "1.23.8"
1717
detektPluginCompose = "0.5.8"
18-
gradle = "9.2.1"
18+
gradle = "9.5.1"
19+
gradleSha256 = "c72fb9991f6025cbe337d52ba77e531b3faf62bdd3e348fe1ccee9f51c71adb0"
1920
composeMultiplatform = "1.11.1"
2021
jetbrainsComposeLifecycle = "2.10.0"
2122
konsist = "0.17.3"
@@ -27,7 +28,7 @@ kotlinxDateTime = "0.8.0"
2728
kotlinxSerialization = "1.10.0"
2829
kover = "0.9.8"
2930
mavenPublish = "0.36.0"
30-
spotlessPlugin = "8.1.0"
31+
spotlessPlugin = "8.6.0"
3132
turbine = "1.2.1"
3233

3334
[plugins]

gradle/wrapper/gradle-wrapper.jar

2.76 KB
Binary file not shown.
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-all.zip
3+
distributionSha256Sum=c72fb9991f6025cbe337d52ba77e531b3faf62bdd3e348fe1ccee9f51c71adb0
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-all.zip
45
networkTimeout=10000
6+
retries=0
7+
retryBackOffMs=500
58
validateDistributionUrl=true
69
zipStoreBase=GRADLE_USER_HOME
710
zipStorePath=wrapper/dists

gradlew

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 10 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)