diff --git a/build.gradle b/build.gradle
index 5baa1f1..01983da 100644
--- a/build.gradle
+++ b/build.gradle
@@ -9,6 +9,7 @@ apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'signing'
apply plugin: "jacoco"
+apply from: rootProject.file('gradle/checkstyle.gradle')
sourceCompatibility = 1.8
@@ -92,4 +93,4 @@ jacocoTestReport {
}
}
-check.dependsOn jacocoTestReport
\ No newline at end of file
+check.dependsOn jacocoTestReport
diff --git a/etc/checkstyle-exclude.xml b/etc/checkstyle-exclude.xml
new file mode 100644
index 0000000..533e04f
--- /dev/null
+++ b/etc/checkstyle-exclude.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
diff --git a/etc/checkstyle.xml b/etc/checkstyle.xml
new file mode 100644
index 0000000..d93ff58
--- /dev/null
+++ b/etc/checkstyle.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gradle/checkstyle.gradle b/gradle/checkstyle.gradle
new file mode 100644
index 0000000..19768d2
--- /dev/null
+++ b/gradle/checkstyle.gradle
@@ -0,0 +1,10 @@
+apply plugin: 'checkstyle'
+
+checkstyle {
+ configFile rootProject.file('etc/checkstyle.xml')
+ showViolations true
+}
+
+dependencies {
+ checkstyle 'com.puppycrawl.tools:checkstyle:7.7'
+}
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 4e58c1b..1e1ca40 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-all.zip
diff --git a/src/main/java/strman/Strman.java b/src/main/java/strman/Strman.java
index 79fe417..63fe20d 100644
--- a/src/main/java/strman/Strman.java
+++ b/src/main/java/strman/Strman.java
@@ -1152,7 +1152,6 @@ public abstract class Strman {
*
* @param input The string to convert
* @return The converted string
- * @throws IllegalArgumentException
*/
public static String lowerFirst(final String input) throws IllegalArgumentException {
if (input == null) {
diff --git a/src/test/java/strman/StrmanTests.java b/src/test/java/strman/StrmanTests.java
index 5d8da52..d7e163d 100644
--- a/src/test/java/strman/StrmanTests.java
+++ b/src/test/java/strman/StrmanTests.java
@@ -26,11 +26,11 @@
package strman;
+import java.util.*;
+
import org.junit.Ignore;
import org.junit.Test;
-import java.util.*;
-
import static java.util.Arrays.asList;
import static java.util.Collections.singletonList;
import static java.util.stream.Collectors.toList;