@@ -23,7 +23,7 @@ buildscript {
23
23
classpath " ${ opensearch_group} .gradle:build-tools:${ opensearch_version} "
24
24
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:${ kotlin_version} "
25
25
classpath " org.jetbrains.kotlin:kotlin-allopen:${ kotlin_version} "
26
- classpath " io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.20.0-RC1"
26
+ // classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.20.0-RC1"
27
27
}
28
28
}
29
29
@@ -59,14 +59,15 @@ apply plugin: 'jacoco'
59
59
apply plugin : ' signing'
60
60
apply plugin : ' maven-publish'
61
61
apply plugin : ' com.github.johnrengelman.shadow'
62
- apply plugin : ' io.gitlab.arturbosch.detekt'
62
+ // apply plugin: 'io.gitlab.arturbosch.detekt'
63
63
apply plugin : ' org.jetbrains.kotlin.jvm'
64
64
apply plugin : ' org.jetbrains.kotlin.plugin.allopen'
65
65
apply plugin : ' opensearch.repositories'
66
66
apply from : ' build-tools/opensearchplugin-coverage.gradle'
67
67
68
68
configurations {
69
69
ktlint
70
+ all* . exclude group : ' org.yaml' , module : ' snakeyaml'
70
71
}
71
72
72
73
dependencies {
@@ -103,10 +104,12 @@ spotless {
103
104
eclipse(). configFile rootProject. file(' .eclipseformat.xml' )
104
105
}
105
106
}
106
- detekt {
107
+
108
+ // TODO: enable detekt only when snakeyaml vulnerability is fixed
109
+ /* detekt {
107
110
config = files("detekt.yml")
108
111
buildUponDefaultConfig = true
109
- }
112
+ }*/
110
113
111
114
task ktlint (type : JavaExec , group : " verification" ) {
112
115
description = " Check Kotlin code style."
0 commit comments