aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-03-21 11:33:41 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-03-21 13:43:09 +0530
commit66158adc13a4eb24a5e6fe7544b9eb1dceee5502 (patch)
tree15c9bdcc18d798f54b6c33fc8c2a2bf48506e541
parenta6a218e0625f1ea56694cc0df06ce5afe5cd3dc5 (diff)
chore(build): fix deprecation warning
Now visible due to this change: https://docs.gradle.org/8.1-rc-1/release-notes.html#:~:text=Useful%20deprecation%20warnings%20and%20errors%20from%20Kotlin%20script%20compilation
-rw-r--r--build-logic/settings.gradle.kts2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-logic/settings.gradle.kts b/build-logic/settings.gradle.kts
index 84b36fa8..0c7a0f8c 100644
--- a/build-logic/settings.gradle.kts
+++ b/build-logic/settings.gradle.kts
@@ -53,7 +53,7 @@ dependencyResolutionManagement {
if (System.getenv("DEP_OVERRIDE") == "true") {
val overrides = System.getenv().filterKeys { it.startsWith("DEP_OVERRIDE_") }
for ((key, value) in overrides) {
- val catalogKey = key.removePrefix("DEP_OVERRIDE_").toLowerCase()
+ val catalogKey = key.removePrefix("DEP_OVERRIDE_").lowercase()
println("Overriding $catalogKey with $value")
version(catalogKey, value)
}