From 35e57eeac5683e4625dc6e66aba5ac8c76b18427 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Fri, 9 Dec 2022 13:33:52 -0800 Subject: [PATCH] [AUTO] Increment version to 2.2.2-SNAPSHOT (#244) * Increment version to 2.2.2-SNAPSHOT Signed-off-by: opensearch-ci-bot * Disable detekt due to snakeyml vulnerability Signed-off-by: Mohammad Qureshi <47198598+qreshi@users.noreply.github.com> Signed-off-by: opensearch-ci-bot Signed-off-by: Mohammad Qureshi <47198598+qreshi@users.noreply.github.com> Co-authored-by: opensearch-ci-bot Co-authored-by: Mohammad Qureshi <47198598+qreshi@users.noreply.github.com> --- build.gradle | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 53b5b260..a64e8a16 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { ext { opensearch_group = "org.opensearch" - opensearch_version = System.getProperty("opensearch.version", "2.2.1-SNAPSHOT") + opensearch_version = System.getProperty("opensearch.version", "2.2.2-SNAPSHOT") isSnapshot = "true" == System.getProperty("build.snapshot", "true") buildVersionQualifier = System.getProperty("build.version_qualifier", "") kotlin_version = System.getProperty("kotlin.version", "1.6.10") @@ -23,7 +23,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.20.0-RC1" +// classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.20.0-RC1" } } @@ -59,7 +59,7 @@ apply plugin: 'jacoco' apply plugin: 'signing' apply plugin: 'maven-publish' apply plugin: 'com.github.johnrengelman.shadow' -apply plugin: 'io.gitlab.arturbosch.detekt' +// apply plugin: 'io.gitlab.arturbosch.detekt' apply plugin: 'org.jetbrains.kotlin.jvm' apply plugin: 'org.jetbrains.kotlin.plugin.allopen' apply plugin: 'opensearch.repositories' @@ -103,10 +103,12 @@ spotless { eclipse().configFile rootProject.file('.eclipseformat.xml') } } -detekt { + +// TODO: enable detekt only when snakeyaml vulnerability is fixed +/*detekt { config = files("detekt.yml") buildUponDefaultConfig = true -} +}*/ task ktlint(type: JavaExec, group: "verification") { description = "Check Kotlin code style."