From 69447b75afaf15a55ada080fa291a71cf560c7f4 Mon Sep 17 00:00:00 2001 From: wb9688 Date: Thu, 15 Oct 2020 14:38:59 +0200 Subject: [PATCH] Disable Ktlint for now --- app/build.gradle | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 1f98c5030..e054c4662 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -98,7 +98,7 @@ ext { configurations { checkstyle - ktlint +// ktlint } checkstyle { @@ -126,20 +126,20 @@ task runCheckstyle(type: Checkstyle) { } } -task runKtlint(type: JavaExec) { - main = "com.pinterest.ktlint.Main" - classpath = configurations.ktlint - args "src/**/*.kt" -} - -task formatKtlint(type: JavaExec) { - main = "com.pinterest.ktlint.Main" - classpath = configurations.ktlint - args "-F", "src/**/*.kt" -} +//task runKtlint(type: JavaExec) { +// main = "com.pinterest.ktlint.Main" +// classpath = configurations.ktlint +// args "src/**/*.kt" +//} +// +//task formatKtlint(type: JavaExec) { +// main = "com.pinterest.ktlint.Main" +// classpath = configurations.ktlint +// args "-F", "src/**/*.kt" +//} afterEvaluate { - preDebugBuild.dependsOn runCheckstyle, runKtlint + preDebugBuild.dependsOn runCheckstyle //, runKtlint } dependencies { @@ -149,7 +149,7 @@ dependencies { kapt "frankiesardo:icepick-processor:${icepickVersion}" checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleVersion}" - ktlint "com.pinterest:ktlint:0.35.0" +// ktlint "com.pinterest:ktlint:0.35.0" debugImplementation "com.facebook.stetho:stetho:${stethoVersion}" debugImplementation "com.facebook.stetho:stetho-okhttp3:${stethoVersion}" @@ -159,7 +159,7 @@ dependencies { debugImplementation "androidx.multidex:multidex:2.0.1" - testImplementation 'junit:junit:4.13' + testImplementation 'junit:junit:4.13.1' testImplementation 'org.mockito:mockito-core:3.3.3' androidTestImplementation "androidx.test.ext:junit:1.1.1"