Skip to content

Commit

Permalink
Apple ktlin all at once
Browse files Browse the repository at this point in the history
  • Loading branch information
uzzu committed Feb 16, 2020
1 parent 4670365 commit cc703e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
15 changes: 9 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ allprojects {
}
}

ktlint {
verbose.set(true)
outputToConsole.set(true)
reporters {
reporter(org.jlleitschuh.gradle.ktlint.reporter.ReporterType.CHECKSTYLE)
subprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint")
ktlint {
verbose.set(true)
outputToConsole.set(true)
reporters {
reporter(org.jlleitschuh.gradle.ktlint.reporter.ReporterType.CHECKSTYLE)
}
ignoreFailures.set(true)
}
ignoreFailures.set(true)
}
10 changes: 0 additions & 10 deletions plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ plugins {
`java-gradle-plugin`
`maven-publish`
kotlin("jvm")
id("org.jlleitschuh.gradle.ktlint")
}

dependencies {
Expand Down Expand Up @@ -37,15 +36,6 @@ tasks {
}
}

ktlint {
verbose.set(true)
outputToConsole.set(true)
reporters {
reporter(org.jlleitschuh.gradle.ktlint.reporter.ReporterType.CHECKSTYLE)
}
ignoreFailures.set(true)
}

// region publishing

object Artifact {
Expand Down

0 comments on commit cc703e6

Please sign in to comment.