Configure the build to use Checkstyle

This commit adds checkstyle plugin and provides a simple config file.

Closes gh-125
This commit is contained in:
Paul-Christian Volkmer
2015-09-13 15:58:43 +02:00
committed by Andy Wilkinson
parent 2fc0420aef
commit ccb5f3d191
3 changed files with 99 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ import org.springframework.web.context.WebApplicationContext;
import static org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.documentationConfiguration;
public class ExampleApplicationTests {
// tag::mock-mvc-setup[]
@Rule
public final RestDocumentation restDocumentation = new RestDocumentation("build/generated-snippets");
@@ -44,4 +44,4 @@ public class ExampleApplicationTests {
.build();
}
// end::mock-mvc-setup[]
}
}