Skip to content

Commit

Permalink
Use gradle/libs.versions.toml to specify the Spotless version (#6328)
Browse files Browse the repository at this point in the history
  • Loading branch information
dconeybe authored Sep 30, 2024
1 parent 034566e commit b789d9b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ buildscript {
classpath 'com.google.gms:google-services:4.3.15'
classpath 'com.google.firebase:firebase-appdistribution-gradle:5.0.0'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.5'
classpath "com.diffplug.spotless:spotless-plugin-gradle:7.0.0.BETA1"
classpath libs.spotless.plugin.gradle
}
}

Expand Down
2 changes: 0 additions & 2 deletions firebase-dataconnect/gradleplugin/gradle/libs.versions.toml

This file was deleted.

2 changes: 1 addition & 1 deletion firebase-dataconnect/gradleplugin/plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
plugins {
`java-gradle-plugin`
alias(firebaseLibs.plugins.kotlin.jvm)
alias(libs.plugins.spotless)
alias(firebaseLibs.plugins.spotless)
}

java { toolchain { languageVersion.set(JavaLanguageVersion.of(17)) } }
Expand Down
3 changes: 3 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ protobufjavautil = "3.21.11"
kotest = "5.9.1"
quickcheck = "0.6"
serialization = "1.5.1"
spotless = "7.0.0.BETA1"
androidx-test-core="1.5.0"
androidx-test-junit="1.1.5"
androidx-test-truth = "1.5.0"
Expand Down Expand Up @@ -88,6 +89,7 @@ kotest-assertions = { module = "io.kotest:kotest-assertions-core-jvm", version.r
kotest-property = { module = "io.kotest:kotest-property-jvm", version.ref = "kotest" }
kotest-property-arbs = { module = "io.kotest.extensions:kotest-property-arbs", version = "2.1.2" }
quickcheck = { module = "net.java:quickcheck", version.ref = "quickcheck" }
spotless-plugin-gradle = { module = "com.diffplug.spotless:spotless-plugin-gradle", version.ref = "spotless" }
turbine = { module = "app.cash.turbine:turbine", version = "1.0.0" }

[bundles]
Expand All @@ -97,3 +99,4 @@ playservices = ["playservices-base", "playservices-basement", "playservices-task
[plugins]
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
kotlinx-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "serialization-plugin" }
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }

0 comments on commit b789d9b

Please sign in to comment.