Skip to content

Commit

Permalink
Fix CME, update dependencies
Browse files Browse the repository at this point in the history
- See: #907
  • Loading branch information
elevenfive committed Jan 22, 2025
1 parent a7fe4c7 commit 08f7bc3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ class DependencyUpdates
fun run(): DependencyUpdatesReporter {
val projectConfigs =
project.allprojects
.associateBy({ it }, { it.configurations.matching(filterConfigurations).toLinkedHashSet() })
.associateBy({ it }, { it.configurations.matching(filterConfigurations) })

val status: Set<DependencyStatus> = resolveProjects(projectConfigs, checkConstraints)

val buildscriptProjectConfigs =
project.allprojects
.associateBy({ it }, { it.buildscript.configurations.toLinkedHashSet() })
.associateBy({ it }, { it.buildscript.configurations })
val buildscriptStatus: Set<DependencyStatus> =
resolveProjects(
buildscriptProjectConfigs,
Expand Down Expand Up @@ -177,7 +177,3 @@ class DependencyUpdates
}
}
}

private fun <T> Collection<T>.toLinkedHashSet(): LinkedHashSet<T> {
return toCollection(LinkedHashSet(this.size))
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.github.ben-manes
VERSION_NAME=0.51.0
VERSION_NAME=0.52.0

POM_URL=https://github.com/ben-manes/gradle-versions-plugin
POM_SCM_URL=https://github.com/ben-manes/gradle-versions-plugin
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
kotlin = "2.0.21"
kotlin = "2.1.0"

[plugins]
dokka = { id = "org.jetbrains.dokka", version = "2.0.0" }
Expand All @@ -11,6 +11,6 @@ versions = { id = "com.github.ben-manes.versions", version = "0.51.0" }
[libraries]
kotlin-bom = { module = "org.jetbrains.kotlin:kotlin-bom", version.ref = "kotlin" }
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }
moshi = { module = "com.squareup.moshi:moshi-kotlin", version = "1.12.0" }
moshi = { module = "com.squareup.moshi:moshi-kotlin", version = "1.15.2" }
okhttp = { module = "com.squareup.okhttp3:okhttp", version = "4.12.0" }
spock = { module = "org.spockframework:spock-junit4", version = "2.4-M4-groovy-3.0" }
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit 08f7bc3

Please # to comment.