10 lines
253 B
Groovy
10 lines
253 B
Groovy
|
// Applies code quality plugins when -Pqc is passed to the gradle
|
||
|
def isCodeQualityEnabled = project.hasProperty('qc')
|
||
|
|
||
|
if (isCodeQualityEnabled) {
|
||
|
apply plugin: "org.jlleitschuh.gradle.ktlint"
|
||
|
|
||
|
ktlint {
|
||
|
version = versions.ktlint
|
||
|
}
|
||
|
}
|