Fix inclusion of ktlint for check tasks

This commit is contained in:
Gary Tierney
2018-08-22 23:16:53 +01:00
parent 96e11dfe27
commit ba5ff2b765
5 changed files with 11 additions and 13 deletions
+8 -12
View File
@@ -1,14 +1,10 @@
gradle.projectsEvaluated {
configure(subprojects.findAll { it.pluginManager.hasPlugin('kotlin') }) {
apply plugin: 'org.jmailen.kotlinter'
apply plugin: 'org.jmailen.kotlinter'
kotlinter {
ignoreFailures = true
indentSize = 4
continuationIndentSize = 4
reporters = ['checkstyle', 'plain']
}
kotlin { experimental { coroutines 'enable' } }
}
kotlinter {
ignoreFailures = true
indentSize = 4
continuationIndentSize = 4
reporters = ['checkstyle', 'plain']
}
kotlin { experimental { coroutines 'enable' } }