From 3e0e613fa0e650d16f35aba08f7e57767273e530 Mon Sep 17 00:00:00 2001 From: Rupal Mahajan Date: Tue, 1 Nov 2022 10:52:53 -0700 Subject: [PATCH] Change detekt version to 1.21.0 (#526) Signed-off-by: Rupal Mahajan Signed-off-by: Rupal Mahajan --- reports-scheduler/build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/reports-scheduler/build.gradle b/reports-scheduler/build.gradle index f85a572b..03eeece4 100644 --- a/reports-scheduler/build.gradle +++ b/reports-scheduler/build.gradle @@ -40,7 +40,7 @@ buildscript { classpath "${opensearch_group}.gradle:build-tools:${opensearch_version}" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_version}" classpath "org.jetbrains.kotlin:kotlin-allopen:${kotlin_version}" - classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.22.0-RC2" + classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.21.0" classpath "org.jacoco:org.jacoco.agent:0.8.5" } } @@ -61,6 +61,12 @@ apply plugin: 'io.gitlab.arturbosch.detekt' apply plugin: 'org.jetbrains.kotlin.jvm' apply plugin: 'org.jetbrains.kotlin.plugin.allopen' +configurations.all { + resolutionStrategy { + force 'org.yaml:snakeyaml:1.32' + } +} + def usingRemoteCluster = System.properties.containsKey('tests.rest.cluster') || System.properties.containsKey('tests.cluster') def usingMultiNode = project.properties.containsKey('numNodes')