From 844691fa2c5357ebb23d7a8d30e2674e03a82f37 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Sat, 24 Jul 2021 22:48:58 +0200 Subject: [PATCH] Remove checkstyle files --- buildSrc/src/main/kotlin/PlatformConfig.kt | 11 +- config/checkstyle/checkstyle-suppression.xml | 22 -- config/checkstyle/checkstyle.xml | 214 ------------------- 3 files changed, 1 insertion(+), 246 deletions(-) delete mode 100644 config/checkstyle/checkstyle-suppression.xml delete mode 100644 config/checkstyle/checkstyle.xml diff --git a/buildSrc/src/main/kotlin/PlatformConfig.kt b/buildSrc/src/main/kotlin/PlatformConfig.kt index b553635fd..674ae04bf 100644 --- a/buildSrc/src/main/kotlin/PlatformConfig.kt +++ b/buildSrc/src/main/kotlin/PlatformConfig.kt @@ -22,7 +22,6 @@ fun Project.applyPlatformAndCoreConfiguration() { apply(plugin = "eclipse") apply(plugin = "idea") apply(plugin = "maven-publish") -// apply(plugin = "checkstyle") apply(plugin = "com.github.johnrengelman.shadow") if (project.hasProperty("buildnumber")) { @@ -39,16 +38,12 @@ fun Project.applyPlatformAndCoreConfiguration() { "processing", "path", "fallthrough", "serial" ) options.release.set(11) - //options.compilerArgs.addAll(listOf("-Xlint:all") + disabledLint.map { "-Xlint:-$it" }) + options.compilerArgs.addAll(listOf("-Xlint:all") + disabledLint.map { "-Xlint:-$it" }) options.isDeprecation = false options.encoding = "UTF-8" options.compilerArgs.add("-parameters") } -// configure { -// configFile = rootProject.file("config/checkstyle/checkstyle.xml") -// toolVersion = "8.34" -// } tasks.withType().configureEach { useJUnitPlatform() @@ -117,10 +112,6 @@ fun Project.applyPlatformAndCoreConfiguration() { } } -// tasks.named("check").configure { -// dependsOn("checkstyleMain", "checkstyleTest") -// } - } fun Project.applyShadowConfiguration() { diff --git a/config/checkstyle/checkstyle-suppression.xml b/config/checkstyle/checkstyle-suppression.xml deleted file mode 100644 index 6e77e27e7..000000000 --- a/config/checkstyle/checkstyle-suppression.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml deleted file mode 100644 index 692b0e999..000000000 --- a/config/checkstyle/checkstyle.xml +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -