Remove checkstyle files

This commit is contained in:
NotMyFault
2021-07-24 22:48:58 +02:00
parent f479e32b5f
commit 844691fa2c
3 changed files with 1 additions and 246 deletions

View File

@ -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<CheckstyleExtension> {
// configFile = rootProject.file("config/checkstyle/checkstyle.xml")
// toolVersion = "8.34"
// }
tasks.withType<Test>().configureEach {
useJUnitPlatform()
@ -117,10 +112,6 @@ fun Project.applyPlatformAndCoreConfiguration() {
}
}
// tasks.named("check").configure {
// dependsOn("checkstyleMain", "checkstyleTest")
// }
}
fun Project.applyShadowConfiguration() {