Upgrade to Gradle nohttp plugin 0.0.4.RELEASE

Also clean up gradle configuration
This commit is contained in:
Roy Clarkson
2020-03-31 12:49:02 -04:00
parent 65fe482234
commit 587cb7a33c
2 changed files with 1 additions and 32 deletions

View File

@@ -23,7 +23,7 @@ buildscript {
classpath("io.spring.gradle:dependency-management-plugin:1.0.9.RELEASE")
classpath("org.asciidoctor:asciidoctor-gradle-plugin:1.6.1")
classpath("org.jfrog.buildinfo:build-info-extractor-gradle:4.9.9")
classpath("io.spring.nohttp:nohttp-gradle:0.0.3.RELEASE")
classpath("io.spring.nohttp:nohttp-gradle:0.0.4.RELEASE")
}
}
@@ -53,16 +53,8 @@ if (project.hasProperty("reactorVersion")) {
ext['reactor-bom.version'] = ext.reactorVersion
}
// NoHttp has to be applied at the root level
// so that it reads all the root files, including the gradle ones.
apply plugin: "io.spring.nohttp"
// nohttp requires a valid checkstyle configuration
checkstyle {
configFile = file("${project.rootDir}/src/checkstyle/checkstyle-nohttp.xml")
toolVersion = "${checkstyleVersion}"
}
configure(allprojects) {
group = "org.springframework.cloud"

View File

@@ -1,23 +0,0 @@
<?xml version="1.0"?>
<!--
~ Copyright 2002-2020 the original author or authors.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ https://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"https://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<module name="Checker">
<module name="io.spring.nohttp.checkstyle.check.NoHttpCheck" />
</module>