Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
Updated dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbrowndotje committed Mar 17, 2023
1 parent cb92de6 commit 6be3301
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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()
Expand Down
4 changes: 4 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.*;
Expand Down Expand Up @@ -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<Section> sections = workspace.getDocumentation().getSections();
Collection<Section> 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());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -28,7 +28,7 @@ public void test_importDocumentation_WithRecursiveSetToTrue() {
File directory = new File("./src/test/docs/docs");

documentationImporter.importDocumentation(workspace, directory);
Set<Section> sections = workspace.getDocumentation().getSections();
Collection<Section> 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());
Expand Down

0 comments on commit 6be3301

Please sign in to comment.