Ant build support

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

License

License

Categories

Categories

Ant Build Tools
GroupId

GroupId

com.google.errorprone
ArtifactId

ArtifactId

error_prone_ant
Last Version

Last Version

2.3.1
Release Date

Release Date

Type

Type

jar
Description

Description

Ant build support
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Download error_prone_ant

How to add to project

<!-- https://jarcasting.com/artifacts/com.google.errorprone/error_prone_ant/ -->
<dependency>
    <groupId>com.google.errorprone</groupId>
    <artifactId>error_prone_ant</artifactId>
    <version>2.3.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.google.errorprone/error_prone_ant/
implementation 'com.google.errorprone:error_prone_ant:2.3.1'
// https://jarcasting.com/artifacts/com.google.errorprone/error_prone_ant/
implementation ("com.google.errorprone:error_prone_ant:2.3.1")
'com.google.errorprone:error_prone_ant:jar:2.3.1'
<dependency org="com.google.errorprone" name="error_prone_ant" rev="2.3.1">
  <artifact name="error_prone_ant" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.google.errorprone', module='error_prone_ant', version='2.3.1')
)
libraryDependencies += "com.google.errorprone" % "error_prone_ant" % "2.3.1"
[com.google.errorprone/error_prone_ant "2.3.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.apache.ant : ant jar 1.9.4

Project Modules

There are no modules declared in this project.

Error Prone

Error Prone is a static analysis tool for Java that catches common programming mistakes at compile-time.

public class ShortSet {
  public static void main (String[] args) {
    Set<Short> s = new HashSet<>();
    for (short i = 0; i < 100; i++) {
      s.add(i);
      s.remove(i - 1);
    }
    System.out.println(s.size());
  }
}
error: [CollectionIncompatibleType] Argument 'i - 1' should not be passed to this method;
its type int is not compatible with its collection's type argument Short
      s.remove(i - 1);
              ^
    (see https://errorprone.info/bugpattern/CollectionIncompatibleType)
1 error

Getting Started

Our documentation is at errorprone.info.

Error Prone works with Bazel, Maven, Ant, and Gradle. See our installation instructions for details.

Developing Error Prone

Developing and building Error Prone is documented on the wiki.

Links

com.google.errorprone

Google

Google ❤️ Open Source

Versions

Version
2.3.1
2.3.0
2.2.0
2.1.3
2.1.2
2.1.1
2.1.0
2.0.21
2.0.20
2.0.19
2.0.18
2.0.17
2.0.16
2.0.15
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0
1.1.2
1.1.1
1.1.0
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0
0.92
0.9.15
0.9.14
0.9.13
0.9.12
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9
0.8