File tree Expand file tree Collapse file tree
src/main/kotlin/com/vanniktech/code/quality/tools Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ buildscript {
1313
1414 dependencies {
1515 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion "
16- classpath ' com.vanniktech:gradle-code-quality-tools-plugin:0.24 .0'
16+ classpath ' com.vanniktech:gradle-code-quality-tools-plugin:0.25 .0'
1717 classpath ' com.vanniktech:gradle-maven-publish-plugin:0.35.0'
1818 }
1919}
@@ -30,10 +30,7 @@ validatePlugins {
3030
3131codeQualityTools {
3232 ktlint {
33- toolVersion = ' 1.2.1'
34- }
35- detekt {
36- enabled = false
33+ toolVersion = ' 1.8.0'
3734 }
3835 pmd {
3936 enabled = false
Original file line number Diff line number Diff line change @@ -58,16 +58,15 @@ fun hasLintPlugin(): Boolean = try {
5858 false
5959}
6060
61- fun Project.kotlinFiles (baseDir : String? = null) =
62- fileTree(baseDir ? : projectDir)
63- .setIncludes(listOf (" **/*.kt" , " **/*.kts" ))
64- .setExcludes(
65- listOf (
66- " build/" ,
67- " generated/" ,
68- " src/test/snapshots/" , // Paparazzi.
69- ),
70- )
61+ fun Project.kotlinFiles (baseDir : String? = null) = fileTree(baseDir ? : projectDir)
62+ .setIncludes(listOf (" **/*.kt" , " **/*.kts" ))
63+ .setExcludes(
64+ listOf (
65+ " build/" ,
66+ " generated/" ,
67+ " src/test/snapshots/" , // Paparazzi.
68+ ),
69+ )
7170
7271fun Project.editorconfigFile () = fileTree(mapOf (" dir" to " ." , " include" to " .editorconfig" ))
7372
You can’t perform that action at this time.
0 commit comments