diff --git a/build.gradle b/build.gradle index db86a31..ee4ac66 100644 --- a/build.gradle +++ b/build.gradle @@ -91,7 +91,7 @@ ext { roboeletricVersion = "3.6.1" canarinhoVersion = "1.2.0" lottieVersion = "2.5.0-rc1" - ktlintVersion = "0.19.0" + ktlintVersion = "0.20.0" detektVersion = "1.0.0.RC6-3" } diff --git a/tools/html-reporter.jar b/tools/html-reporter.jar deleted file mode 100644 index 0bc05ac..0000000 Binary files a/tools/html-reporter.jar and /dev/null differ diff --git a/tools/quality.gradle b/tools/quality.gradle index 331c2f7..cb1f8de 100644 --- a/tools/quality.gradle +++ b/tools/quality.gradle @@ -8,6 +8,5 @@ task ktlint(type: JavaExec, group: "verification") { main = "com.github.shyiko.ktlint.Main" args "src/**/*.kt" args "--android=true" - args "--ruleset=${rootDir}/tools/html-reporter.jar" - args "--reporter=html,output=${buildDir}/ktlint.html" + args "--reporter=html,artifact=com.github.mcassiano:ktlint-html-reporter:0.0.1,output=${buildDir}/ktlint.html" }