Adding NoHttp check

* Upgrading gradle to latest 4.13
This commit is contained in:
Alberto Rios
2019-04-23 15:33:06 +02:00
committed by Alberto Ríos
parent 5c98c1a0b1
commit ccd7ec16f1
2 changed files with 14 additions and 1 deletions

View File

@@ -24,9 +24,18 @@ buildscript {
classpath("io.spring.gradle:spring-io-plugin:0.0.8.RELEASE")
classpath("org.asciidoctor:asciidoctor-gradle-plugin:1.5.3")
classpath("org.jfrog.buildinfo:build-info-extractor-gradle:4.7.5")
classpath("io.spring.nohttp:nohttp-gradle:0.0.1.RELEASE")
}
}
// 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"
checkstyle {
toolVersion = 8.16
}
configure(allprojects) {
group = "org.springframework.cloud"
@@ -63,6 +72,10 @@ configure(allprojects) {
maven { url "https://repo.spring.io/libs-release" }
}
dependencies {
testRuntimeOnly("io.spring.nohttp:nohttp:0.0.1.RELEASE")
}
if (project.hasProperty("springVersion") || project.hasProperty("springBootVersion") || project.hasProperty("reactorVersion")) {
repositories {
maven { url "https://repo.spring.io/libs-snapshot" }

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists