Skip to content

Commit 0be3d8a

Browse files
Add nohttp check to build. Upgrade gradle and asciidoctor plugin.
1 parent cefdaf4 commit 0be3d8a

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

build.gradle

+12-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ buildscript {
1111
dependencies {
1212
classpath 'io.spring.gradle:propdeps-plugin:0.0.10.RELEASE'
1313
classpath 'io.spring.gradle:spring-io-plugin:0.0.8.RELEASE'
14-
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.3'
14+
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.12'
15+
classpath 'io.spring.nohttp:nohttp-gradle:0.0.1.RELEASE'
1516
}
1617
}
1718

@@ -28,6 +29,12 @@ ext {
2829
] as String[]
2930
}
3031

32+
apply plugin: 'io.spring.nohttp'
33+
34+
checkstyle {
35+
toolVersion = 8.16
36+
}
37+
3138
subprojects {
3239
apply plugin: 'java'
3340
apply plugin: 'maven'
@@ -100,7 +107,6 @@ subprojects {
100107

101108
repositories {
102109
mavenCentral()
103-
maven { url "https://repo.spring.io/libs-milestone" }
104110
}
105111
}
106112

@@ -167,6 +173,10 @@ configure(rootProject) {
167173
archives docsZip
168174
archives schemaZip
169175
}
176+
177+
repositories {
178+
mavenCentral()
179+
}
170180
}
171181

172182
ext {
@@ -202,7 +212,3 @@ task dist(dependsOn: assemble) {
202212
group = 'Distribution'
203213
description = 'Builds -dist, -docs and -schema distribution archives.'
204214
}
205-
206-
task wrapper(type: Wrapper) {
207-
gradleVersion = '4.2.1'
208-
}

gradle/wrapper/gradle-wrapper.jar

1.8 KB
Binary file not shown.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10-bin.zip
34
zipStoreBase=GRADLE_USER_HOME
45
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.2.1-bin.zip

0 commit comments

Comments
 (0)