Skip to content

Commit

Permalink
prepare release 0.17.0
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Gafert <[email protected]>
  • Loading branch information
codecholeric committed Feb 21, 2021
1 parent ad30fa5 commit 192bc02
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 22 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:0.16.0'
testImplementation 'com.tngtech.archunit:archunit:0.17.0'
```

###### Maven
Expand All @@ -26,7 +26,7 @@ testImplementation 'com.tngtech.archunit:archunit:0.16.0'
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit</artifactId>
<version>0.16.0</version>
<version>0.17.0</version>
<scope>test</scope>
</dependency>
```
Expand Down
5 changes: 2 additions & 3 deletions build-steps/release/create-release-news.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import java.time.LocalDate
import static java.time.format.DateTimeFormatter.ofPattern

def createArticleText = { dateText, version ->
"""
---
""" ---
layout: splash
title: "New release of ArchUnit (v${version})"
date: ${dateText} 12:00:00
Expand All @@ -14,7 +13,7 @@ def createArticleText = { dateText, version ->
A new release of ArchUnit (v${version}) is out. For details see [the release on GitHub](https://github.com/TNG/ArchUnit/releases/tag/v${
version
} "ArchUnit v${version} on GitHub").
""".stripIndent().trim()
""".stripIndent()
}

task createReleaseNews {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ ext {

allprojects {
group = 'com.tngtech.archunit'
version = '0.17.0-SNAPSHOT'
version = '0.17.0'

repositories {
mavenCentral()
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/0.16.0
url: https://javadoc.io/doc/com.tngtech.archunit/archunit/0.17.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>0.16.0</version>
<version>0.17.0</version>
<scope>test</scope>
</dependency>
```

#### Gradle
```groovy
dependencies {
testImplementation 'com.tngtech.archunit:archunit:0.16.0'
testImplementation 'com.tngtech.archunit:archunit:0.17.0'
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2021-01-31-release-v0.16.0.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ date: 2021-01-31 12:00:00
categories: news release
---

A new release of ArchUnit (v0.16.0) is out. For details see [the release on GitHub](https://github.com/TNG/ArchUnit/releases/tag/v0.16.0 "ArchUnit v0.16.0 on GitHub").
A new release of ArchUnit (v0.16.0) is out. For details see [the release on GitHub](https://github.com/TNG/ArchUnit/releases/tag/v0.16.0 "ArchUnit v0.16.0 on GitHub").
8 changes: 8 additions & 0 deletions docs/_posts/2021-02-21-release-v0.17.0.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: splash
title: "New release of ArchUnit (v0.17.0)"
date: 2021-02-21 12:00:00
categories: news release
---

A new release of ArchUnit (v0.17.0) is out. For details see [the release on GitHub](https://github.com/TNG/ArchUnit/releases/tag/v0.17.0 "ArchUnit v0.17.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 0.16.0</span>
<span id="revnumber">version 0.17.0</span>
</div>
<div id="toc" class="toc2">
<div id="toctitle">Table of Contents</div>
Expand Down Expand Up @@ -614,7 +614,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;0.16.0&lt;/version&gt;
&lt;version&gt;0.17.0&lt;/version&gt;
&lt;scope&gt;test&lt;/scope&gt;
&lt;/dependency&gt;</code></pre>
</div>
Expand All @@ -623,7 +623,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:0.16.0'
testImplementation 'com.tngtech.archunit:archunit-junit4:0.17.0'
}</code></pre>
</div>
</div>
Expand All @@ -644,7 +644,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;0.16.0&lt;/version&gt;
&lt;version&gt;0.17.0&lt;/version&gt;
&lt;scope&gt;test&lt;/scope&gt;
&lt;/dependency&gt;</code></pre>
</div>
Expand All @@ -653,7 +653,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:0.16.0'
testImplementation 'com.tngtech.archunit:archunit-junit5:0.17.0'
}</code></pre>
</div>
</div>
Expand All @@ -670,7 +670,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;0.16.0&lt;/version&gt;
&lt;version&gt;0.17.0&lt;/version&gt;
&lt;scope&gt;test&lt;/scope&gt;
&lt;/dependency&gt;</code></pre>
</div>
Expand All @@ -679,7 +679,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:0.16.0'
testImplementation 'com.tngtech.archunit:archunit:0.17.0'
}</code></pre>
</div>
</div>
Expand Down Expand Up @@ -2362,18 +2362,18 @@ <h4 id="_grouping_rules"><a class="anchor" href="#_grouping_rules"></a>9.1.5. Gr
public class ArchitectureTest {

@ArchTest
public static final ArchRules serviceRules = ArchRules.in(ServiceRules.class);
static final ArchTests serviceRules = ArchTests.in(ServiceRules.class);

@ArchTest
public static final ArchRules persistenceRules = ArchRules.in(PersistenceRules.class);
static final ArchTests persistenceRules = ArchTests.in(PersistenceRules.class);

}</code></pre>
</div>
</div>
<div class="paragraph">
<p>The runner will evaluate all rules within <code>ServiceRules</code> and <code>PersistenceRules</code> against
the classes declared at <code>ArchitectureTest</code>. This also allows an easy reuse of a rule library
in different projects or modules.</p>
<p>The runner will include all <code>@ArchTest</code> annotated members within <code>ServiceRules</code> and <code>PersistenceRules</code> and evaluate
them against the classes declared within <code>@AnalyzeClasses</code> on <code>ArchitectureTest</code>.
This also allows an easy reuse of a rule library in different projects or modules.</p>
</div>
</div>
</div>
Expand Down

0 comments on commit 192bc02

Please sign in to comment.