Non Null Api
Deprecated
Deprecated in Gradle 9 for removal in Gradle 10. Prefer JSpecify annotations such as org.jspecify.annotations.NullMarked and org.jspecify.annotations.Nullable. Note that you can also still use JSR305 annotations such as javax.annotation.Nonnull and javax.annotation.Nullable.
Marks a type or a whole package as providing a non-null API by default. All parameter and return types are assumed to be javax.annotation.Nonnull unless specifically marked as javax.annotation.Nullable. All types of an annotated package inherit the package rule. Subpackages do not inherit nullability rules and must be annotated.
Since
4.2