Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency updates #48

Merged
merged 6 commits into from
Nov 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -55,7 +57,19 @@ dependencies {
detektPlugins(libs.ortDetektRules)
}

tasks.named<com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask>("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<DependencyUpdatesTask>("dependencyUpdates").configure {
gradleReleaseChannel = "current"
outputFormatter = "json"

Expand Down
10 changes: 5 additions & 5 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -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"
sschuberth marked this conversation as resolved.
Show resolved Hide resolved
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" }
Expand Down