diff --git a/build.gradle b/build.gradle index 4771a93..45e5ef4 100644 --- a/build.gradle +++ b/build.gradle @@ -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" } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e0b3fb8..290541c 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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