A fluent validation library, to help build simple readable validations which can involve complex compound rules using predicates
See test for examples of how to use see here and here
See wiki for more information and examples
Java 11+
Gradle
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add the dependency
dependencies {
implementation 'com.github.hanfak:valid8or:1.0.1'
}
Maven
<repositories>
...
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
...
</repositories>
<dependencies>
...
<dependency>
<groupId>com.github.hanfak</groupId>
<artifactId>valid8or</artifactId>
<version>1.0.1</version>
</dependency>
...
</dependencies>