449449< div id ="header ">
450450< h1 > ArchUnit User Guide</ h1 >
451451< div class ="details ">
452- < span id ="revnumber "> version 1.0.0-rc1 </ span >
452+ < span id ="revnumber "> version 1.0.0</ span >
453453</ div >
454454< div id ="toc " class ="toc2 ">
455455< div id ="toctitle "> Table of Contents</ div >
@@ -617,7 +617,7 @@ <h3 id="_junit_4"><a class="anchor" href="#_junit_4"></a>2.1. JUnit 4</h3>
617617< pre class ="highlightjs highlight nowrap "> < code data-lang ="xml " class ="language-xml hljs "> <dependency>
618618 <groupId>com.tngtech.archunit</groupId>
619619 <artifactId>archunit-junit4</artifactId>
620- <version>1.0.0-rc1 </version>
620+ <version>1.0.0</version>
621621 <scope>test</scope>
622622</dependency></ code > </ pre >
623623</ div >
@@ -626,7 +626,7 @@ <h3 id="_junit_4"><a class="anchor" href="#_junit_4"></a>2.1. JUnit 4</h3>
626626< div class ="title "> build.gradle</ div >
627627< div class ="content ">
628628< pre class ="highlightjs highlight nowrap "> < code class ="language-none hljs "> dependencies {
629- testImplementation 'com.tngtech.archunit:archunit-junit4:1.0.0-rc1 '
629+ testImplementation 'com.tngtech.archunit:archunit-junit4:1.0.0'
630630}</ code > </ pre >
631631</ div >
632632</ div >
@@ -647,7 +647,7 @@ <h3 id="_junit_5"><a class="anchor" href="#_junit_5"></a>2.2. JUnit 5</h3>
647647< pre class ="highlightjs highlight nowrap "> < code data-lang ="xml " class ="language-xml hljs "> <dependency>
648648 <groupId>com.tngtech.archunit</groupId>
649649 <artifactId>archunit-junit5</artifactId>
650- <version>1.0.0-rc1 </version>
650+ <version>1.0.0</version>
651651 <scope>test</scope>
652652</dependency></ code > </ pre >
653653</ div >
@@ -656,7 +656,7 @@ <h3 id="_junit_5"><a class="anchor" href="#_junit_5"></a>2.2. JUnit 5</h3>
656656< div class ="title "> build.gradle</ div >
657657< div class ="content ">
658658< pre class ="highlightjs highlight nowrap "> < code class ="language-none hljs "> dependencies {
659- testImplementation 'com.tngtech.archunit:archunit-junit5:1.0.0-rc1 '
659+ testImplementation 'com.tngtech.archunit:archunit-junit5:1.0.0'
660660}</ code > </ pre >
661661</ div >
662662</ div >
@@ -673,7 +673,7 @@ <h3 id="_other_test_frameworks"><a class="anchor" href="#_other_test_frameworks"
673673< pre class ="highlightjs highlight nowrap "> < code data-lang ="xml " class ="language-xml hljs "> <dependency>
674674 <groupId>com.tngtech.archunit</groupId>
675675 <artifactId>archunit</artifactId>
676- <version>1.0.0-rc1 </version>
676+ <version>1.0.0</version>
677677 <scope>test</scope>
678678</dependency></ code > </ pre >
679679</ div >
@@ -682,7 +682,7 @@ <h3 id="_other_test_frameworks"><a class="anchor" href="#_other_test_frameworks"
682682< div class ="title "> build.gradle</ div >
683683< div class ="content ">
684684< pre class ="highlightjs highlight nowrap "> < code class ="language-none hljs "> dependencies {
685- testImplementation 'com.tngtech.archunit:archunit:1.0.0-rc1 '
685+ testImplementation 'com.tngtech.archunit:archunit:1.0.0'
686686}</ code > </ pre >
687687</ div >
688688</ div >
@@ -1092,7 +1092,7 @@ <h3 id="_import"><a class="anchor" href="#_import"></a>6.1. Import</h3>
10921092< div class ="paragraph ">
10931093< p > Furthermore specific locations can be filtered out, if they are contained in the source of classes,
10941094but should not be imported. A typical use case would be to ignore test classes, when the classpath
1095- is imported. This can be achieved by specifying < code > ImportOptions </ code > :</ p >
1095+ is imported. This can be achieved by specifying < code > ImportOption </ code > s :</ p >
10961096</ div >
10971097< div class ="listingblock ">
10981098< div class ="content ">
@@ -1122,7 +1122,7 @@ <h3 id="_import"><a class="anchor" href="#_import"></a>6.1. Import</h3>
11221122< div class ="paragraph ">
11231123< p > For the two common cases to skip importing JAR files and to skip importing test files
11241124(for typical setups, like a Maven or Gradle build),
1125- there already exist predefined < code > ImportOptions </ code > :</ p >
1125+ there already exist predefined < code > ImportOption </ code > s :</ p >
11261126</ div >
11271127< div class ="listingblock ">
11281128< div class ="content ">
@@ -1258,7 +1258,7 @@ <h4 id="_domain_objects_reflection_and_the_classpath"><a class="anchor" href="#_
12581258</ div >
12591259< div class ="listingblock ">
12601260< div class ="content ">
1261- < pre class ="highlightjs highlight nowrap "> < code data-lang ="java " class ="language-java hljs "> JavaClasses classes = new ClassFileImporter().importClasspath(new ImportOptions() );
1261+ < pre class ="highlightjs highlight nowrap "> < code data-lang ="java " class ="language-java hljs "> JavaClasses classes = new ClassFileImporter().importClasspath();
12621262
12631263// ArchUnit's java.lang.String
12641264JavaClass javaClass = classes.get(String.class);
@@ -2568,7 +2568,7 @@ <h4 id="_controlling_the_import"><a class="anchor" href="#_controlling_the_impor
25682568</ div >
25692569</ div >
25702570< div class ="paragraph ">
2571- < p > Furthermore to choose specific classes beneath those locations, < code > ImportOptions </ code > can be
2571+ < p > Furthermore, to choose specific classes beneath those locations, < code > ImportOption </ code > s can be
25722572specified (compare < a href ="#_the_core_api "> The Core API</ a > ). For example, to import the classpath, but only consider
25732573production code, and only consider code that is directly supplied and does not come from JARs:</ p >
25742574</ div >
@@ -2585,7 +2585,7 @@ <h4 id="_controlling_the_import"><a class="anchor" href="#_controlling_the_impor
25852585< div class ="sect3 ">
25862586< h4 id ="_controlling_the_cache "> < a class ="anchor " href ="#_controlling_the_cache "> </ a > 9.1.3. Controlling the Cache</ h4 >
25872587< div class ="paragraph ">
2588- < p > By default all classes will be cached by location. This means that between different
2588+ < p > By default, all classes will be cached by location. This means that between different
25892589test class runs imported Java classes will be reused, if the exact combination of locations has already
25902590been imported.</ p >
25912591</ div >
0 commit comments