diff --git a/cache/src/main/java/net/runelite/cache/ItemManager.java b/cache/src/main/java/net/runelite/cache/ItemManager.java
index 6c98d62fadb..d77337ac130 100644
--- a/cache/src/main/java/net/runelite/cache/ItemManager.java
+++ b/cache/src/main/java/net/runelite/cache/ItemManager.java
@@ -89,7 +89,8 @@ public void java(File java) throws IOException
fw.println("/* This file is automatically generated. Do not edit. */");
fw.println("package net.runelite.api;");
fw.println("");
- fw.println("public final class ItemID {");
+ fw.println("public final class ItemID");
+ fw.println("{");
for (ItemDefinition def : items)
{
if (def.name.equalsIgnoreCase("NULL"))
diff --git a/cache/src/main/java/net/runelite/cache/NpcManager.java b/cache/src/main/java/net/runelite/cache/NpcManager.java
index b60a024f561..679a4cafd8b 100644
--- a/cache/src/main/java/net/runelite/cache/NpcManager.java
+++ b/cache/src/main/java/net/runelite/cache/NpcManager.java
@@ -84,7 +84,8 @@ public void java(File java) throws IOException
fw.println("/* This file is automatically generated. Do not edit. */");
fw.println("package net.runelite.api;");
fw.println("");
- fw.println("public final class NpcID {");
+ fw.println("public final class NpcID");
+ fw.println("{");
for (NpcDefinition def : npcs)
{
if (def.name.equalsIgnoreCase("NULL"))
diff --git a/cache/src/main/java/net/runelite/cache/ObjectManager.java b/cache/src/main/java/net/runelite/cache/ObjectManager.java
index 59053568f4c..a0ee541766c 100644
--- a/cache/src/main/java/net/runelite/cache/ObjectManager.java
+++ b/cache/src/main/java/net/runelite/cache/ObjectManager.java
@@ -89,7 +89,8 @@ public void java(File java) throws IOException
fw.println("/* This file is automatically generated. Do not edit. */");
fw.println("package net.runelite.api;");
fw.println("");
- fw.println("public final class ObjectID {");
+ fw.println("public final class ObjectID");
+ fw.println("{");
for (ObjectDefinition def : objects)
{
if (def.getName().equalsIgnoreCase("NULL"))
diff --git a/checkstyle.xml b/checkstyle.xml
new file mode 100644
index 00000000000..72e6d0ba8b5
--- /dev/null
+++ b/checkstyle.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/model-viewer-rsmv/pom.xml b/model-viewer-rsmv/pom.xml
index 0949879c604..01f07523272 100644
--- a/model-viewer-rsmv/pom.xml
+++ b/model-viewer-rsmv/pom.xml
@@ -40,4 +40,17 @@
net.runelite
modelviewer-rsmv
Model Viewer (RSMV)
+
+
+
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+
+
+ true
+
+
+
+
diff --git a/pom.xml b/pom.xml
index 2b77af01cec..ec2c000f041 100644
--- a/pom.xml
+++ b/pom.xml
@@ -39,6 +39,7 @@
1.8
true
+ true
144
@@ -110,6 +111,24 @@
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+
+
+ verify-style
+ process-classes
+
+ check
+
+
+
+
+ checkstyle.xml
+
+ ${project.build.sourceDirectory}
+
+
diff --git a/runelite-api/src/main/java/net/runelite/api/ItemID.java b/runelite-api/src/main/java/net/runelite/api/ItemID.java
index b2d9c3140f2..f7f2e7dd066 100644
--- a/runelite-api/src/main/java/net/runelite/api/ItemID.java
+++ b/runelite-api/src/main/java/net/runelite/api/ItemID.java
@@ -1,7 +1,8 @@
/* This file is automatically generated. Do not edit. */
package net.runelite.api;
-public final class ItemID {
+public final class ItemID
+{
public static final int DWARF_REMAINS = 0;
public static final int TOOLKIT = 1;
public static final int CANNONBALL = 2;
diff --git a/runelite-api/src/main/java/net/runelite/api/NpcID.java b/runelite-api/src/main/java/net/runelite/api/NpcID.java
index 0980c989931..0300882fde1 100644
--- a/runelite-api/src/main/java/net/runelite/api/NpcID.java
+++ b/runelite-api/src/main/java/net/runelite/api/NpcID.java
@@ -1,7 +1,8 @@
/* This file is automatically generated. Do not edit. */
package net.runelite.api;
-public final class NpcID {
+public final class NpcID
+{
public static final int TOOL_LEPRECHAUN = 0;
public static final int MOLANISK = 1;
public static final int ABERRANT_SPECTRE = 2;
diff --git a/runelite-api/src/main/java/net/runelite/api/ObjectID.java b/runelite-api/src/main/java/net/runelite/api/ObjectID.java
index 81cf32bf02e..cb72bc0e206 100644
--- a/runelite-api/src/main/java/net/runelite/api/ObjectID.java
+++ b/runelite-api/src/main/java/net/runelite/api/ObjectID.java
@@ -1,7 +1,8 @@
/* This file is automatically generated. Do not edit. */
package net.runelite.api;
-public final class ObjectID {
+public final class ObjectID
+{
public static final int CRATE = 1;
public static final int CAVE_ENTRANCE = 2;
public static final int DOOR = 3;
diff --git a/suppressions.xml b/suppressions.xml
new file mode 100644
index 00000000000..fadda7066a4
--- /dev/null
+++ b/suppressions.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/travis/settings.xml b/travis/settings.xml
index 699e5fe565c..e4c8b717cba 100644
--- a/travis/settings.xml
+++ b/travis/settings.xml
@@ -264,6 +264,7 @@ under the License.
http://api.runelite.net/manager/text
false
+ false