Merge branch '2.3.x'

pull/23986/head
Phillip Webb 4 years ago
commit fe28ad88db

@ -121,7 +121,7 @@ class AsciidoctorConventions {
private UnzipDocumentationResources createUnzipDocumentationResourcesTask(Project project) { private UnzipDocumentationResources createUnzipDocumentationResourcesTask(Project project) {
Configuration documentationResources = project.getConfigurations().maybeCreate("documentationResources"); Configuration documentationResources = project.getConfigurations().maybeCreate("documentationResources");
documentationResources.getDependencies() documentationResources.getDependencies()
.add(project.getDependencies().create("io.spring.docresources:spring-doc-resources:0.2.3.RELEASE")); .add(project.getDependencies().create("io.spring.docresources:spring-doc-resources:0.2.3"));
UnzipDocumentationResources unzipResources = project.getTasks().create("unzipDocumentationResources", UnzipDocumentationResources unzipResources = project.getTasks().create("unzipDocumentationResources",
UnzipDocumentationResources.class); UnzipDocumentationResources.class);
unzipResources.setResources(documentationResources); unzipResources.setResources(documentationResources);

Loading…
Cancel
Save