Skip to content

Releases: tbroyer/gradle-errorprone-plugin

v1.3.1

20 Mar 19:54
Compare
Choose a tag to compare

Fix regression in v1.3.0 where the errorproneJavac configuration was resolved even when not using JDK 8, in Gradle 6.7+ (as a side-effect to adding toolchains support). This would lead to either resolving an unnecessary 6.5Mb file, or printing a warning that com.google.errorprone:javac is missing in errorproneJavac.

Add KDoc to the DSL extension, in the hope that it's picked up by IDEs (no additional artifact is generated)

v1.3.0

19 Oct 10:51
Compare
Choose a tag to compare

Add support for Gradle 6.7 Toolchains

v1.2.1

30 May 21:22
Compare
Choose a tag to compare

Add support for -XepDisableAllWarnings (d467eb2)

v1.2.0

29 May 16:50
Compare
Choose a tag to compare

v1.1.1

22 Oct 14:41
Compare
Choose a tag to compare

🐛 Silence deprecation warning in Gradle 6 (#37, cbb5c17)

v1.1.0

15 Oct 13:33
Compare
Choose a tag to compare

✨ Infers more source sets as having test-only code

Any source set's name containing test as a word will now have isCompilingTestOnlyCode default to true. This includes testFixtures from the java-test-fixtures plugin, or integTest from the nebula.integtest plugin (note that the matching is different from the nebula.facet plugin though, so some facets that will have a Test task won't necessarily have isCompilingTestOnlyCode default to true; and the reverse is also true)

v1.0.0

15 Oct 13:29
Compare
Choose a tag to compare

This is the same as v0.8.1.

v0.8.1

31 May 23:55
Compare
Choose a tag to compare

🐛 Fix Groovy DSL for enabled and compilingTestOnlyCode properties; they were inadvertently only available as isEnabled() and isCompilingTestOnlyCode().

No change for Kotlin DSL users.

v0.8

14 Apr 17:29
Compare
Choose a tag to compare

✨ Enhancements:

  • Add support for Error Prone 2.3.3's -XepIgnoreSuppressionAnnotations; plugin is still compatible with previous Error Prone versions as long as you don't set ignoreSupressionAnnotations option to true (bc787e5)
  • Add severity-specific methods to enable() or disable() checks, or set their severity to warn() or error() (d965e05)

💥 Breaking changes:

  • Minimum Gradle version has been bumped to 5.2
  • Switch options to lazy properties (74ef06a, eeb6325)
  • change Kotlin extension from ErrorProneOptions.invoke to CompileOptions.errorprone (afa7aa8)

v0.7.1

22 Feb 17:00
Compare
Choose a tag to compare

Fix relocatability of compile tasks with JDK 8 (#25, 831570d)