Replace Checkstyle Gradle Task configuration with NoHTTP Gradle Plugin and task configuration.
This commit is contained in:
10
build.gradle
10
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/**"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user