Skip to content

Commit 04af3ff

Browse files
committed
release ArchUnit 1.4.1
Signed-off-by: hankem <action@github.com>
1 parent c832616 commit 04af3ff

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

example-junit4/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
dependencies {
2-
testImplementation 'com.tngtech.archunit:archunit-junit4:1.4.0'
2+
testImplementation 'com.tngtech.archunit:archunit-junit4:1.4.1'
33
}

example-junit5/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dependencies {
2-
testImplementation 'com.tngtech.archunit:archunit-junit5:1.4.0'
2+
testImplementation 'com.tngtech.archunit:archunit-junit5:1.4.1'
33
}
44

55
test {

example-plain/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dependencies {
22
testImplementation 'junit:junit:4.12' // We will use JUnit to run the tests, but for this example it is irrelevant, might as well be TestNG
33

4-
testImplementation 'com.tngtech.archunit:archunit:1.4.0'
4+
testImplementation 'com.tngtech.archunit:archunit:1.4.1'
55
}

example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import com.tngtech.archunit.core.importer.ClassFileImporter;
66
import com.tngtech.archunit.example.cycles.complexcycles.slice1.SliceOneCallingConstructorInSliceTwoAndMethodInSliceThree;
77
import com.tngtech.archunit.example.cycles.complexcycles.slice3.ClassCallingConstructorInSliceFive;
8+
import com.tngtech.archunit.lang.Priority;
89
import com.tngtech.archunit.library.dependencies.SliceAssignment;
910
import com.tngtech.archunit.library.dependencies.SliceIdentifier;
1011
import org.junit.Test;
@@ -78,7 +79,7 @@ public void no_cycles_in_complex_scenario_with_custom_ignore() {
7879

7980
@Test
8081
public void no_cycles_in_freely_customized_slices() {
81-
slices().assignedFrom(inComplexSliceOneOrTwo())
82+
slices().assignedFrom(inComplexSliceOneOrTwo(), Priority.HIGH)
8283
.namingSlices("$1[$2]")
8384
.should().beFreeOfCycles()
8485
.check(classes);

0 commit comments

Comments
 (0)