Skip to content

Commit f11750b

Browse files
committed
prepare release 1.0.0
Signed-off-by: codecholeric <action@github.com>
1 parent f5c1f05 commit f11750b

6 files changed

Lines changed: 26 additions & 18 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ framework.
1717
###### Gradle
1818

1919
```
20-
testImplementation 'com.tngtech.archunit:archunit:1.0.0-rc1'
20+
testImplementation 'com.tngtech.archunit:archunit:1.0.0'
2121
```
2222

2323
###### Maven
@@ -26,7 +26,7 @@ testImplementation 'com.tngtech.archunit:archunit:1.0.0-rc1'
2626
<dependency>
2727
<groupId>com.tngtech.archunit</groupId>
2828
<artifactId>archunit</artifactId>
29-
<version>1.0.0-rc1</version>
29+
<version>1.0.0</version>
3030
<scope>test</scope>
3131
</dependency>
3232
```

docs/_data/navigation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ main:
1010
- title: "User Guide"
1111
url: /userguide/html/000_Index.html
1212
- title: "API"
13-
url: https://javadoc.io/doc/com.tngtech.archunit/archunit/1.0.0-rc1
13+
url: https://javadoc.io/doc/com.tngtech.archunit/archunit/1.0.0
1414
- title: "About"
1515
url: /about

docs/_pages/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ ArchUnit can be obtained from Maven Central.
1515
<dependency>
1616
<groupId>com.tngtech.archunit</groupId>
1717
<artifactId>archunit</artifactId>
18-
<version>1.0.0-rc1</version>
18+
<version>1.0.0</version>
1919
<scope>test</scope>
2020
</dependency>
2121
```
2222

2323
#### Gradle
2424
```groovy
2525
dependencies {
26-
testImplementation 'com.tngtech.archunit:archunit:1.0.0-rc1'
26+
testImplementation 'com.tngtech.archunit:archunit:1.0.0'
2727
}
2828
```
2929

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
layout: splash
3+
title: "New release of ArchUnit (v1.0.0)"
4+
date: 2022-10-03 12:00:00
5+
categories: news release
6+
---
7+
8+
A new release of ArchUnit (v1.0.0) is out. For details see [the release on GitHub](https://github.com/TNG/ArchUnit/releases/tag/v1.0.0 "ArchUnit v1.0.0 on GitHub").

docs/userguide/html/000_Index.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@
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">&lt;dependency&gt;
618618
&lt;groupId&gt;com.tngtech.archunit&lt;/groupId&gt;
619619
&lt;artifactId&gt;archunit-junit4&lt;/artifactId&gt;
620-
&lt;version&gt;1.0.0-rc1&lt;/version&gt;
620+
&lt;version&gt;1.0.0&lt;/version&gt;
621621
&lt;scope&gt;test&lt;/scope&gt;
622622
&lt;/dependency&gt;</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">&lt;dependency&gt;
648648
&lt;groupId&gt;com.tngtech.archunit&lt;/groupId&gt;
649649
&lt;artifactId&gt;archunit-junit5&lt;/artifactId&gt;
650-
&lt;version&gt;1.0.0-rc1&lt;/version&gt;
650+
&lt;version&gt;1.0.0&lt;/version&gt;
651651
&lt;scope&gt;test&lt;/scope&gt;
652652
&lt;/dependency&gt;</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">&lt;dependency&gt;
674674
&lt;groupId&gt;com.tngtech.archunit&lt;/groupId&gt;
675675
&lt;artifactId&gt;archunit&lt;/artifactId&gt;
676-
&lt;version&gt;1.0.0-rc1&lt;/version&gt;
676+
&lt;version&gt;1.0.0&lt;/version&gt;
677677
&lt;scope&gt;test&lt;/scope&gt;
678678
&lt;/dependency&gt;</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,
10941094
but 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
12641264
JavaClass 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
25722572
specified (compare <a href="#_the_core_api">The Core API</a>). For example, to import the classpath, but only consider
25732573
production 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
25892589
test class runs imported Java classes will be reused, if the exact combination of locations has already
25902590
been imported.</p>
25912591
</div>

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
org.gradle.parallel=true
22
archunit.group=com.tngtech.archunit
3-
archunit.version=1.0.0-SNAPSHOT
3+
archunit.version=1.0.0
44
org.gradle.jvmargs=--add-exports jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED

0 commit comments

Comments
 (0)