diff --git a/build.gradle.kts b/build.gradle.kts index 24a0dcb..838d701 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,5 @@ +import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask + import io.gitlab.arturbosch.detekt.Detekt import org.jetbrains.compose.desktop.application.dsl.TargetFormat @@ -55,7 +57,19 @@ dependencies { detektPlugins(libs.ortDetektRules) } -tasks.named("dependencyUpdates").configure { +configurations.all { + // Do not tamper with configurations related to the detekt plugin, for some background information + // https://github.com/detekt/detekt/issues/2501. + if (!name.startsWith("detekt")) { + resolutionStrategy { + // Starting with version 1.32 the YAML file size is limited to 3 MiB, which is not configurable yet via + // Hoplite or Jackson. + force("org.yaml:snakeyaml:1.31") + } + } +} + +tasks.named("dependencyUpdates").configure { gradleReleaseChannel = "current" outputFormatter = "json" diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 2fd39e6..e162d90 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,17 +1,17 @@ [versions] detektPlugin = "1.21.0" -composePlugin = "1.2.0" +composePlugin = "1.2.1" kotlinPlugin = "1.7.20" -versionCatalogUpdatePlugin = "0.6.1" -versionsPlugin = "0.42.0" +versionCatalogUpdatePlugin = "0.7.0" +versionsPlugin = "0.43.0" -jackson = "2.13.4" +jackson = "2.14.0" kotlinxCoroutines = "1.6.4" log4jApi = "2.19.0" log4jApiKotlin = "1.2.0" logbackImpl = "1.4.4" ort = "0f28f92094" -richtext = "0.14.1" +richtext = "0.15.0" [plugins] detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detektPlugin" }