|
|
@ -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);
|
|
|
|