Replace Checkstyle Gradle Task configuration with NoHTTP Gradle Plugin and task configuration.

This commit is contained in:
John Blum
2021-12-07 18:44:19 -08:00
parent 62719dc1d8
commit 0cd52dcdfc

View File

@@ -53,12 +53,6 @@ ext.milestoneBuild = !(releaseBuild || snapshotBuild)
ext.MAVEN_POM_EDITOR_GRADLE = "$rootDir/gradle/maven-pom-editor.gradle"
project.checkstyle.sourceSets.forEach { it -> it.excludes '**/target', '**/out', '**/build' }
//project.tasks.findByName('checkstyleNohttp').configure {
// exclude '**/target/**/*', '**/out/**/*', '**/build/**/*'
//}
tasks.withType(Checkstyle) {
exclude '**/target/**/*', '**/out/**/*', '**/build/**/*'
nohttp {
source.exclude "**/target/**"
}