Upgrade to Gradle 6.8 and modernize the build
Closes gh-719
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id "org.asciidoctor.convert" version "1.5.9.2"
|
||||
id "org.asciidoctor.jvm.convert" version "3.3.2"
|
||||
}
|
||||
|
||||
apply plugin: 'java'
|
||||
@@ -7,7 +7,8 @@ apply plugin: 'eclipse'
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
maven { url 'https://repo.spring.io/libs-snapshot' }
|
||||
maven { url 'https://repo.spring.io/milestone' }
|
||||
maven { url 'https://repo.spring.io/snapshot' }
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
@@ -22,14 +23,20 @@ ext {
|
||||
|
||||
ext['spring-restdocs.version'] = '2.0.6.BUILD-SNAPSHOT'
|
||||
|
||||
configurations {
|
||||
asciidoctorExtensions
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile 'io.projectreactor.ipc:reactor-netty:0.7.1.RELEASE'
|
||||
compile 'org.springframework:spring-context:5.0.1.RELEASE'
|
||||
compile 'org.springframework:spring-webflux:5.0.1.RELEASE'
|
||||
testCompile 'junit:junit:4.12'
|
||||
testCompile 'org.springframework:spring-test:5.0.1.RELEASE'
|
||||
testCompile "org.springframework.restdocs:spring-restdocs-webtestclient:${project.ext['spring-restdocs.version']}"
|
||||
asciidoctor "org.springframework.restdocs:spring-restdocs-asciidoctor:${project.ext['spring-restdocs.version']}"
|
||||
asciidoctorExtensions "org.springframework.restdocs:spring-restdocs-asciidoctor:${project.ext['spring-restdocs.version']}"
|
||||
|
||||
implementation 'io.projectreactor.ipc:reactor-netty:0.7.1.RELEASE'
|
||||
implementation 'org.springframework:spring-context:5.0.1.RELEASE'
|
||||
implementation 'org.springframework:spring-webflux:5.0.1.RELEASE'
|
||||
|
||||
testImplementation 'junit:junit:4.12'
|
||||
testImplementation 'org.springframework:spring-test:5.0.1.RELEASE'
|
||||
testImplementation "org.springframework.restdocs:spring-restdocs-webtestclient:${project.ext['spring-restdocs.version']}"
|
||||
}
|
||||
|
||||
test {
|
||||
@@ -37,6 +44,7 @@ test {
|
||||
}
|
||||
|
||||
asciidoctor {
|
||||
configurations "asciidoctorExtensions"
|
||||
inputs.dir snippetsDir
|
||||
dependsOn test
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
|
||||
|
||||
0
samples/web-test-client/settings.gradle
Normal file
0
samples/web-test-client/settings.gradle
Normal file
Reference in New Issue
Block a user