dependencies {
- testImplementation 'com.tngtech.archunit:archunit-junit4:1.0.0'
+ testImplementation 'com.tngtech.archunit:archunit-junit4:1.0.1'
}
diff --git a/README.md b/README.md
index 17e510de9a..9d4fac2cb4 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ framework.
###### Gradle
```
-testImplementation 'com.tngtech.archunit:archunit:1.0.0'
+testImplementation 'com.tngtech.archunit:archunit:1.0.1'
```
###### Maven
@@ -26,7 +26,7 @@ testImplementation 'com.tngtech.archunit:archunit:1.0.0'
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit-junit4</artifactId>
- <version>1.0.0</version>
+ <version>1.0.1</version>
<scope>test</scope>
</dependency>
dependencies {
- testImplementation 'com.tngtech.archunit:archunit-junit4:1.0.0'
+ testImplementation 'com.tngtech.archunit:archunit-junit4:1.0.1'
}
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit-junit5</artifactId>
- <version>1.0.0</version>
+ <version>1.0.1</version>
<scope>test</scope>
</dependency>
@@ -656,7 +656,7 @@ dependencies {
- testImplementation 'com.tngtech.archunit:archunit-junit5:1.0.0'
+ testImplementation 'com.tngtech.archunit:archunit-junit5:1.0.1'
}
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit</artifactId>
- <version>1.0.0</version>
+ <version>1.0.1</version>
<scope>test</scope>
</dependency>
@@ -682,7 +682,7 @@ dependencies {
- testImplementation 'com.tngtech.archunit:archunit:1.0.0'
+ testImplementation 'com.tngtech.archunit:archunit:1.0.1'
}
DescribedPredicate<JavaClass> haveAFieldAnnotatedWithPayload =
new DescribedPredicate<JavaClass>("have a field annotated with @Payload"){
@Override
- public boolean apply(JavaClass input) {
+ public boolean test(JavaClass input) {
boolean someFieldAnnotatedWithPayload = // iterate fields and check for @Payload
return someFieldAnnotatedWithPayload;
}
diff --git a/gradle.properties b/gradle.properties
index 91abd3ef02..1ac7130795 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,4 @@
org.gradle.parallel=true
archunit.group=com.tngtech.archunit
-archunit.version=1.0.1-SNAPSHOT
+archunit.version=1.0.1
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