|
|
|
|
@ -96,7 +96,7 @@ class AsciidoctorConventions {
@@ -96,7 +96,7 @@ class AsciidoctorConventions {
|
|
|
|
|
ConfigurationContainer configurations = project.getConfigurations(); |
|
|
|
|
Configuration asciidoctorExtensions = configurations.maybeCreate(EXTENSIONS_CONFIGURATION); |
|
|
|
|
asciidoctorExtensions.getDependencies().add(project.getDependencies() |
|
|
|
|
.create("io.spring.asciidoctor.backends:spring-asciidoctor-backends:0.0.1-SNAPSHOT")); |
|
|
|
|
.create("io.spring.asciidoctor.backends:spring-asciidoctor-backends:0.0.1-M1")); |
|
|
|
|
Configuration dependencyManagement = configurations.findByName("dependencyManagement"); |
|
|
|
|
if (dependencyManagement != null) { |
|
|
|
|
asciidoctorExtensions.extendsFrom(dependencyManagement); |
|
|
|
|
|