Skip to content

Commit

Permalink
disable detekt so that snakeyaml <= 1.31 is not used
Browse files Browse the repository at this point in the history
Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>
  • Loading branch information
sbcd90 committed Oct 3, 2022
1 parent 0bd06b9 commit 7fd9597
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
ext {
opensearch_group = "org.opensearch"
opensearch_version = System.getProperty("opensearch.version", "1.4.0-SNAPSHOT")
kotlin_version = System.getProperty("kotlin.version", "1.4.32")
kotlin_version = System.getProperty("kotlin.version", "1.6.0")
}

repositories {
Expand All @@ -21,7 +21,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.17.1"
// classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.17.1"
}
}

Expand Down Expand Up @@ -57,7 +57,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'

Expand Down Expand Up @@ -99,10 +99,10 @@ spotless {
eclipse().configFile rootProject.file('.eclipseformat.xml')
}
}
detekt {
/*detekt {
config = files("detekt.yml")
buildUponDefaultConfig = true
}
}*/

task ktlint(type: JavaExec, group: "verification") {
description = "Check Kotlin code style."
Expand Down

0 comments on commit 7fd9597

Please sign in to comment.