From 0cd52dcdfc2348a13aa3394f0b2c407ef35dfdae Mon Sep 17 00:00:00 2001 From: John Blum Date: Tue, 7 Dec 2021 18:44:19 -0800 Subject: [PATCH] Replace Checkstyle Gradle Task configuration with NoHTTP Gradle Plugin and task configuration. --- build.gradle | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index 59315cd..03fb066 100644 --- a/build.gradle +++ b/build.gradle @@ -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/**" }