Releases: tbroyer/gradle-errorprone-plugin
v1.3.1
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
Add support for Gradle 6.7 Toolchains
v1.2.1
v1.2.0
v1.1.1
v1.1.0
✨ 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
v0.8.1
v0.8
✨ 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 setignoreSupressionAnnotations
option totrue
(bc787e5) - Add severity-specific methods to
enable()
ordisable()
checks, or set their severity towarn()
orerror()
(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
toCompileOptions.errorprone
(afa7aa8)