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:
committed by
Andy Wilkinson
parent
2fc0420aef
commit
ccb5f3d191
@@ -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[]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user