diff --git a/mug-errorprone/pom.xml b/mug-errorprone/pom.xml new file mode 100644 index 0000000000..82987fd6f3 --- /dev/null +++ b/mug-errorprone/pom.xml @@ -0,0 +1,66 @@ + + 4.0.0 + + com.google.mug + mug-root + 6.6-SNAPSHOT + + mug-errorprone + Java Plugins + + + com.google.auto.service + auto-service-annotations + 1.1.1 + + + com.google.errorprone + error_prone_annotations + compile + sources + + + com.google.errorprone + error_prone_check_api + 2.23.0 + compile + + + com.google.errorprone + error_prone_test_helpers + 2.23.0 + test + + + com.google.guava + guava + compile + + + ${project.groupId} + mug + ${project.version} + compile + + + com.google.truth + truth + test + + + com.google.truth.extensions + truth-java8-extension + test + + + com.google.guava + guava-testlib + test + + + com.google.mug + mug-guava + ${version} + + + \ No newline at end of file diff --git a/mug-errorprone/src/main/java/com/google/mu/errorprone/AbstractBugChecker.java b/mug-errorprone/src/main/java/com/google/mu/errorprone/AbstractBugChecker.java new file mode 100644 index 0000000000..888cbc599f --- /dev/null +++ b/mug-errorprone/src/main/java/com/google/mu/errorprone/AbstractBugChecker.java @@ -0,0 +1,8 @@ +package com.google.mu.errorprone; + +import com.google.errorprone.bugpatterns.BugChecker; + +/** Abstract class providing convenience to BugChecker implementations. */ +abstract class AbstractBugChecker extends BugChecker { + +} diff --git a/pom.xml b/pom.xml index cea20abf71..3522e6dd01 100644 --- a/pom.xml +++ b/pom.xml @@ -52,6 +52,7 @@ mug-algorithms mug-guava mug-protobuf + mug-errorprone @@ -115,6 +116,13 @@ [20.0,) test + + com.google.errorprone + error_prone_annotation + compile + 2.23.0 + sources + com.google.errorprone error_prone_annotations