From 47120ecfbdd1125f4515e423cedade207d6029d8 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Wed, 21 Sep 2022 10:20:18 +0200 Subject: [PATCH] Gradle: Force SnakeYaml to stick to version 1.31 For background information see [1]. [1]: https://github.com/oss-review-toolkit/ort/issues/5818 Signed-off-by: Sebastian Schuberth --- build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 87f94bacadc25..72219a336fc22 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -236,6 +236,10 @@ subprojects { // Ensure that all transitive versions of Kotlin libraries match our version of Kotlin. force("org.jetbrains.kotlin:kotlin-reflect:${rootProject.libs.versions.kotlinPlugin.get()}") force("org.jetbrains.kotlin:kotlin-script-runtime:${rootProject.libs.versions.kotlinPlugin.get()}") + + // 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") } } }