|
|
@ -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.2.RELEASE"));
|
|
|
|
.add(project.getDependencies().create("io.spring.docresources:spring-doc-resources:0.2.3.RELEASE"));
|
|
|
|
UnzipDocumentationResources unzipResources = project.getTasks().create("unzipDocumentationResources",
|
|
|
|
UnzipDocumentationResources unzipResources = project.getTasks().create("unzipDocumentationResources",
|
|
|
|
UnzipDocumentationResources.class);
|
|
|
|
UnzipDocumentationResources.class);
|
|
|
|
unzipResources.setResources(documentationResources);
|
|
|
|
unzipResources.setResources(documentationResources);
|
|
|
|