mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 04:23:54 +00:00
Remove checkstyle files
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user