diff --git a/build.gradle b/build.gradle index 4a17b66..b52f9cf 100644 --- a/build.gradle +++ b/build.gradle @@ -9,9 +9,9 @@ repositories { } dependencies { - api 'com.structurizr:structurizr-core:1.22.1' + api 'com.structurizr:structurizr-core:1.23.1' - testImplementation 'org.junit.jupiter:junit-jupiter:5.9.0' + testImplementation 'org.junit.jupiter:junit-jupiter:5.9.2' } compileJava.options.encoding = 'UTF-8' @@ -22,7 +22,7 @@ targetCompatibility = 1.8 description = 'Utilities to import diagrams and documentation into a Structurizr workspace' group = 'com.structurizr' -version = '1.4.0' +version = '1.4.1' test { useJUnitPlatform() diff --git a/docs/changelog.md b/docs/changelog.md index 0e1c7d0..e5b4ed8 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,9 @@ # Changelog +## 1.4.1 (17th March 2023) + +- Updated dependencies. + ## 1.4.0 (5th March 2023) - Documentation/decisions can now be added to components. diff --git a/src/test/java/com/structurizr/importer/documentation/DefaultDocumentImporterTests.java b/src/test/java/com/structurizr/importer/documentation/DefaultDocumentImporterTests.java index fbef21f..48acf2d 100644 --- a/src/test/java/com/structurizr/importer/documentation/DefaultDocumentImporterTests.java +++ b/src/test/java/com/structurizr/importer/documentation/DefaultDocumentImporterTests.java @@ -7,6 +7,7 @@ import org.junit.jupiter.api.Test; import java.io.File; +import java.util.Collection; import java.util.Set; import static org.junit.jupiter.api.Assertions.*; @@ -58,7 +59,7 @@ public void test_importDocumentation_ThrowsAnException_WhenThePathDoesNotExist() public void test_importDocumentation() { File directory = new File("./src/test/docs/docs"); documentationImporter.importDocumentation(workspace, directory); - Set
sections = workspace.getDocumentation().getSections(); + Collection
sections = workspace.getDocumentation().getSections(); assertEquals(6, sections.size()); assertSection(Format.Markdown, "## Section 1", 1, "01-section-1.md", sections.stream().filter(s -> s.getOrder() == 1).findFirst().get()); diff --git a/src/test/java/com/structurizr/importer/documentation/RecursiveDefaultDocumentImporterTests.java b/src/test/java/com/structurizr/importer/documentation/RecursiveDefaultDocumentImporterTests.java index 7584df0..ed3eb5a 100644 --- a/src/test/java/com/structurizr/importer/documentation/RecursiveDefaultDocumentImporterTests.java +++ b/src/test/java/com/structurizr/importer/documentation/RecursiveDefaultDocumentImporterTests.java @@ -7,7 +7,7 @@ import org.junit.jupiter.api.Test; import java.io.File; -import java.util.Set; +import java.util.Collection; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -28,7 +28,7 @@ public void test_importDocumentation_WithRecursiveSetToTrue() { File directory = new File("./src/test/docs/docs"); documentationImporter.importDocumentation(workspace, directory); - Set
sections = workspace.getDocumentation().getSections(); + Collection
sections = workspace.getDocumentation().getSections(); assertEquals(7, sections.size()); assertSection(Format.Markdown, "## Section 1", 1, "01-section-1.md", sections.stream().filter(s -> s.getOrder() == 1).findFirst().get());