You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Gradle Module Metadata for the 3.0.0 release includes a org.gradle.jvm.version attribute with an incorrect value. This will break builds using a JDK < 17 (#73). This is fixed in version 3.0.1.
💥 Breaking changes
Remove support for Android (2c4afc6): the plugin should still be usable within Android projects, but compile tasks will have to be configured manually: ErrorProne is no longer added to the annotation processor path, ErrorProne is disabled by default, and isCompilingTestOnlyCode is no longer configured based on the type of variant.
Fork options are no longer reset when the plugin configures forking (c032f7d, 8958d29): any fork option that was configured despite the task not forking will now apply when the plugin determines that the task should fork, and ErrorProne-specific fork options are now additive to those previously-configured options.
ErrorProne Javac is now declared as a default dependency of the errorproneJavac configuration (72a842c): ErrorProne no longer supports JDK 8 (since 2.11.0), so this dependency won't change, and can thus be defaulted to the latest version (released nearly 5 years ago)
Strong encapsulation JVM arguments are now configured for all JDK 9+, rather than JDK 16+ (423cbfa): those arguments won't be used unless forking is explicitly configured though; forking still is only configured by the plugin for JDK 8 or JDK 16+, not JDK 9–15.
You can safely remove errorproneJavac("com.google.errorprone:javac:9+181-r4173-1") from your dependencies as this is now added by default.
Also make sure you do not configure any fork option while not enabling forking, that would cause any error if forking was enabled, as those options will be retained when the plugin configures forking.
This discussion was created from the release v3.0.0.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
☣️ Known issues
The Gradle Module Metadata for the 3.0.0 release includes a
org.gradle.jvm.version
attribute with an incorrect value. This will break builds using a JDK < 17 (#73). This is fixed in version 3.0.1.💥 Breaking changes
isCompilingTestOnlyCode
is no longer configured based on the type of variant.✨ Potentially breaking changes
errorproneJavac
configuration (72a842c): ErrorProne no longer supports JDK 8 (since 2.11.0), so this dependency won't change, and can thus be defaulted to the latest version (released nearly 5 years ago)jvmArgumentProvides
in Gradle 7.1+ (ffef94d)📝 Upgrading
You can safely remove
errorproneJavac("com.google.errorprone:javac:9+181-r4173-1")
from your dependencies as this is now added by default.Also make sure you do not configure any fork option while not enabling forking, that would cause any error if forking was enabled, as those options will be retained when the plugin configures forking.
This discussion was created from the release v3.0.0.
Beta Was this translation helpful? Give feedback.
All reactions