diff --git a/gradlePlugin/src/main/java/com/github/spotbugs/internal/spotbugs/FindBugsClasspathValidator.java b/gradlePlugin/src/main/java/com/github/spotbugs/internal/spotbugs/FindBugsClasspathValidator.java
index <HASH>..<HASH> 100644
--- a/gradlePlugin/src/main/java/com/github/spotbugs/internal/spotbugs/FindBugsClasspathValidator.java
+++ b/gradlePlugin/src/main/java/com/github/spotbugs/internal/spotbugs/FindBugsClasspathValidator.java
@@ -35,11 +35,11 @@ public class FindBugsClasspathValidator {
 
   private VersionNumber getFindbugsVersion(Iterable<String> classpath) {
       for (String f: classpath) {
-          Matcher m = Pattern.compile("spotbugs-(\\d+.*)\\.jar").matcher(f);
+          Matcher m = Pattern.compile("spotbugs-(\\d+\\.\\d+\\.\\d+).*\\.jar").matcher(f);
           if (m.matches()) {
               return VersionNumber.parse(m.group(1));
           }
       }
       throw new GradleException("Unable to infer the version of FindBugs from currently specified FindBugs classpath: " + classpath);
   }
-}
\ No newline at end of file
+}
Fixed version pattern to work also with "spotbugs-<I>-SNAPSHOT.jar"