Upgrade to Spring Doc Resources 0.2.2.RELEASE

Closes gh-21057
pull/21212/head
Brian Clozel 5 years ago
parent dac62476a0
commit 4c9c9ccd91

@ -113,7 +113,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.1.RELEASE")); .add(project.getDependencies().create("io.spring.docresources:spring-doc-resources:0.2.2.RELEASE"));
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