diff --git a/build.gradle b/build.gradle index a9986c6a67..b9439f64fc 100644 --- a/build.gradle +++ b/build.gradle @@ -34,7 +34,7 @@ task ktlint(type: JavaExec, group: LifecycleBasePlugin.VERIFICATION_GROUP) { description = "Check Kotlin code style." classpath = configurations.ktlint main = 'com.pinterest.ktlint.Main' - args '*/src/**/*.kt' + args '*/src/**/*.kt', '--baseline=ktlint-baseline.xml' } allprojects { diff --git a/ktlint-baseline.xml b/ktlint-baseline.xml new file mode 100644 index 0000000000..fdabf218f7 --- /dev/null +++ b/ktlint-baseline.xml @@ -0,0 +1,11 @@ + + + + + + + + + + +