1
0
Fork 0

For #4326: Update detekt and ktlint dependenies

master
Sawyer Blatz 2019-08-09 12:16:44 -07:00 committed by Jeff Boek
parent 1b2757be98
commit d9c2c0d16a
1 changed files with 4 additions and 3 deletions

View File

@ -18,7 +18,7 @@ buildscript {
}
plugins {
id("io.gitlab.arturbosch.detekt").version("1.0.0.RC9.2")
id("io.gitlab.arturbosch.detekt").version("1.0.0-RC16")
}
allprojects {
@ -36,6 +36,7 @@ allprojects {
jcenter()
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.allWarningsAsErrors = true
kotlinOptions.freeCompilerArgs += ["-Xuse-experimental=kotlin.Experimental", "-Xskip-runtime-version-check"]
}
@ -47,7 +48,7 @@ task clean(type: Delete) {
detekt {
// The version number is duplicated, please refer to plugins block for more details
version = "1.0.0.RC9.2"
version = "1.0.0-RC16"
input = files("$projectDir/app/src", "$projectDir/architecture/src")
config = files("$projectDir/config/detekt.yml")
filters = ".*test.*,.*/resources/.*,.*/tmp/.*"
@ -65,7 +66,7 @@ configurations {
}
dependencies {
ktlint "com.github.shyiko:ktlint:0.31.0"
ktlint "com.pinterest:ktlint:0.34.2"
}
task ktlint(type: JavaExec, group: "verification") {