diff --git a/README.md b/README.md
index 1c3bfcdbc..34a36a516 100644
--- a/README.md
+++ b/README.md
@@ -193,6 +193,14 @@ The BUG_PATTERN_NAME can be derived from the "Pattern" field in the Eclipse Bug
More complicated filters can be handled via the `.baseline/findbugs/excludeFilter.xml` file; see [FindBugs
documentation](http://findbugs.sourceforge.net/manual/filter.html) for details.
+We apply the [antipatterns](https://github.com/palantir/antipatterns) Gradle plugin; if you wish to change
+the version of this plugin, please do so by adding
+
+ dependencies {
+ findbugsPlugins "com.palantir.antipatterns:$antipatternsVersion"
+ }
+
+to your project dependencies.
### Jacoco Coverage Plugin (jacoco-coverage)
diff --git a/gradle-baseline-java-config/resources/checkstyle/checkstyle.xml b/gradle-baseline-java-config/resources/checkstyle/checkstyle.xml
index 872275889..98a243f66 100644
--- a/gradle-baseline-java-config/resources/checkstyle/checkstyle.xml
+++ b/gradle-baseline-java-config/resources/checkstyle/checkstyle.xml
@@ -355,7 +355,6 @@
-
diff --git a/gradle-baseline-java/src/main/groovy/com/palantir/baseline/plugins/BaselineFindBugs.groovy b/gradle-baseline-java/src/main/groovy/com/palantir/baseline/plugins/BaselineFindBugs.groovy
index 4af46dd80..2991434ff 100644
--- a/gradle-baseline-java/src/main/groovy/com/palantir/baseline/plugins/BaselineFindBugs.groovy
+++ b/gradle-baseline-java/src/main/groovy/com/palantir/baseline/plugins/BaselineFindBugs.groovy
@@ -30,6 +30,7 @@ class BaselineFindBugs extends AbstractBaselinePlugin {
private static final String DEFAULT_FINDBUGS_VERSION = '3.0.1'
private static final String DEFAULT_EFFORT = 'max'
+ private static final String ANTIPATTERNS_ARTIFACT = 'com.palantir.antipatterns:antipatterns:1.0-beta.4'
void apply(Project project) {
this.project = project
@@ -65,6 +66,10 @@ class BaselineFindBugs extends AbstractBaselinePlugin {
excludeFilter = excludeFilterFile
effort = DEFAULT_EFFORT
}
+
+ project.dependencies {
+ findbugsPlugins ANTIPATTERNS_ARTIFACT
+ }
}
// Configure checkstyle settings for Eclipse