MVN

com.faceture : groovy-params-checker

Maven & Gradle

Aug 23, 2014
0 stars

GroovyParamsChecker · Automatic Groovy parameter checker. How to use: 1. Annotate your Groovy classes with @ParamsNotNullNotEmpty; 2. At compile time, code will be added into each of your methods to check each parameter to make sure it is not null and in the case of Collections, Maps and Strings, it is not empty; 3. At run time, if a parameter is null or empty, it will throw an IllegalArgumentException with details about the null or empty parameter. To disable the annotation at compile time, set the ParamsNotNullNotEmpty.NoOpMode flag to true.

<dependency>
    <groupId>com.faceture</groupId>
    <artifactId>groovy-params-checker</artifactId>
    <version>1.0.28</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.faceture : groovy-params-checker to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.0.28

All Versions

Choose a version of com.faceture : groovy-params-checker to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.0.x
groovy-params-checker-1.0.28
groovy-params-checker-1.0.27

How to add a dependency to Maven

Add the following com.faceture : groovy-params-checker maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.faceture</groupId>
    <artifactId>groovy-params-checker</artifactId>
    <version>1.0.28</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.faceture : groovy-params-checker gradle dependency to your build.gradle file:

implementation 'com.faceture:groovy-params-checker:1.0.28'

Gradle Kotlin DSL: Add the following com.faceture : groovy-params-checker gradle kotlin dependency to your build.gradle.kts file:

implementation("com.faceture:groovy-params-checker:1.0.28")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.faceture : groovy-params-checker sbt scala dependency to your build.sbt file:

libraryDependencies += "com.faceture" % "groovy-params-checker" % "1.0.28"

Advertisement