Skip to content

Commit

Permalink
prepare release 1.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: codecholeric <action@github.com>
  • Loading branch information
actions-user committed Oct 3, 2022
1 parent f5c1f05 commit f11750b
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 18 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ framework.
###### Gradle

```
testImplementation 'com.tngtech.archunit:archunit:1.0.0-rc1'
testImplementation 'com.tngtech.archunit:archunit:1.0.0'
```

###### Maven
Expand All @@ -26,7 +26,7 @@ testImplementation 'com.tngtech.archunit:archunit:1.0.0-rc1'
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit</artifactId>
<version>1.0.0-rc1</version>
<version>1.0.0</version>
<scope>test</scope>
</dependency>
```
Expand Down
2 changes: 1 addition & 1 deletion docs/_data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ main:
- title: "User Guide"
url: /userguide/html/000_Index.html
- title: "API"
url: https://javadoc.io/doc/com.tngtech.archunit/archunit/1.0.0-rc1
url: https://javadoc.io/doc/com.tngtech.archunit/archunit/1.0.0
- title: "About"
url: /about
4 changes: 2 additions & 2 deletions docs/_pages/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ ArchUnit can be obtained from Maven Central.
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit</artifactId>
<version>1.0.0-rc1</version>
<version>1.0.0</version>
<scope>test</scope>
</dependency>
```

#### Gradle
```groovy
dependencies {
testImplementation 'com.tngtech.archunit:archunit:1.0.0-rc1'
testImplementation 'com.tngtech.archunit:archunit:1.0.0'
}
```

Expand Down
8 changes: 8 additions & 0 deletions docs/_posts/2022-10-03-release-v1.0.0.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: splash
title: "New release of ArchUnit (v1.0.0)"
date: 2022-10-03 12:00:00
categories: news release
---

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").
24 changes: 12 additions & 12 deletions docs/userguide/html/000_Index.html
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@
<div id="header">
<h1>ArchUnit User Guide</h1>
<div class="details">
<span id="revnumber">version 1.0.0-rc1</span>
<span id="revnumber">version 1.0.0</span>
</div>
<div id="toc" class="toc2">
<div id="toctitle">Table of Contents</div>
Expand Down Expand Up @@ -617,7 +617,7 @@ <h3 id="_junit_4"><a class="anchor" href="#_junit_4"></a>2.1. JUnit 4</h3>
<pre class="highlightjs highlight nowrap"><code data-lang="xml" class="language-xml hljs">&lt;dependency&gt;
&lt;groupId&gt;com.tngtech.archunit&lt;/groupId&gt;
&lt;artifactId&gt;archunit-junit4&lt;/artifactId&gt;
&lt;version&gt;1.0.0-rc1&lt;/version&gt;
&lt;version&gt;1.0.0&lt;/version&gt;
&lt;scope&gt;test&lt;/scope&gt;
&lt;/dependency&gt;</code></pre>
</div>
Expand All @@ -626,7 +626,7 @@ <h3 id="_junit_4"><a class="anchor" href="#_junit_4"></a>2.1. JUnit 4</h3>
<div class="title">build.gradle</div>
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-none hljs">dependencies {
testImplementation 'com.tngtech.archunit:archunit-junit4:1.0.0-rc1'
testImplementation 'com.tngtech.archunit:archunit-junit4:1.0.0'
}</code></pre>
</div>
</div>
Expand All @@ -647,7 +647,7 @@ <h3 id="_junit_5"><a class="anchor" href="#_junit_5"></a>2.2. JUnit 5</h3>
<pre class="highlightjs highlight nowrap"><code data-lang="xml" class="language-xml hljs">&lt;dependency&gt;
&lt;groupId&gt;com.tngtech.archunit&lt;/groupId&gt;
&lt;artifactId&gt;archunit-junit5&lt;/artifactId&gt;
&lt;version&gt;1.0.0-rc1&lt;/version&gt;
&lt;version&gt;1.0.0&lt;/version&gt;
&lt;scope&gt;test&lt;/scope&gt;
&lt;/dependency&gt;</code></pre>
</div>
Expand All @@ -656,7 +656,7 @@ <h3 id="_junit_5"><a class="anchor" href="#_junit_5"></a>2.2. JUnit 5</h3>
<div class="title">build.gradle</div>
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-none hljs">dependencies {
testImplementation 'com.tngtech.archunit:archunit-junit5:1.0.0-rc1'
testImplementation 'com.tngtech.archunit:archunit-junit5:1.0.0'
}</code></pre>
</div>
</div>
Expand All @@ -673,7 +673,7 @@ <h3 id="_other_test_frameworks"><a class="anchor" href="#_other_test_frameworks"
<pre class="highlightjs highlight nowrap"><code data-lang="xml" class="language-xml hljs">&lt;dependency&gt;
&lt;groupId&gt;com.tngtech.archunit&lt;/groupId&gt;
&lt;artifactId&gt;archunit&lt;/artifactId&gt;
&lt;version&gt;1.0.0-rc1&lt;/version&gt;
&lt;version&gt;1.0.0&lt;/version&gt;
&lt;scope&gt;test&lt;/scope&gt;
&lt;/dependency&gt;</code></pre>
</div>
Expand All @@ -682,7 +682,7 @@ <h3 id="_other_test_frameworks"><a class="anchor" href="#_other_test_frameworks"
<div class="title">build.gradle</div>
<div class="content">
<pre class="highlightjs highlight nowrap"><code class="language-none hljs">dependencies {
testImplementation 'com.tngtech.archunit:archunit:1.0.0-rc1'
testImplementation 'com.tngtech.archunit:archunit:1.0.0'
}</code></pre>
</div>
</div>
Expand Down Expand Up @@ -1092,7 +1092,7 @@ <h3 id="_import"><a class="anchor" href="#_import"></a>6.1. Import</h3>
<div class="paragraph">
<p>Furthermore specific locations can be filtered out, if they are contained in the source of classes,
but should not be imported. A typical use case would be to ignore test classes, when the classpath
is imported. This can be achieved by specifying <code>ImportOptions</code>:</p>
is imported. This can be achieved by specifying <code>ImportOption</code>s:</p>
</div>
<div class="listingblock">
<div class="content">
Expand Down Expand Up @@ -1122,7 +1122,7 @@ <h3 id="_import"><a class="anchor" href="#_import"></a>6.1. Import</h3>
<div class="paragraph">
<p>For the two common cases to skip importing JAR files and to skip importing test files
(for typical setups, like a Maven or Gradle build),
there already exist predefined <code>ImportOptions</code>:</p>
there already exist predefined <code>ImportOption</code>s:</p>
</div>
<div class="listingblock">
<div class="content">
Expand Down Expand Up @@ -1258,7 +1258,7 @@ <h4 id="_domain_objects_reflection_and_the_classpath"><a class="anchor" href="#_
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight nowrap"><code data-lang="java" class="language-java hljs">JavaClasses classes = new ClassFileImporter().importClasspath(new ImportOptions());
<pre class="highlightjs highlight nowrap"><code data-lang="java" class="language-java hljs">JavaClasses classes = new ClassFileImporter().importClasspath();

// ArchUnit's java.lang.String
JavaClass javaClass = classes.get(String.class);
Expand Down Expand Up @@ -2568,7 +2568,7 @@ <h4 id="_controlling_the_import"><a class="anchor" href="#_controlling_the_impor
</div>
</div>
<div class="paragraph">
<p>Furthermore to choose specific classes beneath those locations, <code>ImportOptions</code> can be
<p>Furthermore, to choose specific classes beneath those locations, <code>ImportOption</code>s can be
specified (compare <a href="#_the_core_api">The Core API</a>). For example, to import the classpath, but only consider
production code, and only consider code that is directly supplied and does not come from JARs:</p>
</div>
Expand All @@ -2585,7 +2585,7 @@ <h4 id="_controlling_the_import"><a class="anchor" href="#_controlling_the_impor
<div class="sect3">
<h4 id="_controlling_the_cache"><a class="anchor" href="#_controlling_the_cache"></a>9.1.3. Controlling the Cache</h4>
<div class="paragraph">
<p>By default all classes will be cached by location. This means that between different
<p>By default, all classes will be cached by location. This means that between different
test class runs imported Java classes will be reused, if the exact combination of locations has already
been imported.</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
org.gradle.parallel=true
archunit.group=com.tngtech.archunit
archunit.version=1.0.0-SNAPSHOT
archunit.version=1.0.0
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 comments on commit f11750b

Please sign in to comment.