Browse Source

Update null-safety refdoc with jsr305 JAR guidelines

pull/1533/head
Sebastien Deleuze 7 years ago
parent
commit
1e87b6dd7d
  1. 7
      src/docs/asciidoc/core/core-null-safety.adoc

7
src/docs/asciidoc/core/core-null-safety.adoc

@ -16,8 +16,11 @@ in a generic way, without having to hard-code support for Spring annotations. @@ -16,8 +16,11 @@ in a generic way, without having to hard-code support for Spring annotations.
[NOTE]
====
It is not necessary with Kotlin 1.1.5+ nor recommanded to have JSR 305 dependency in user
project classpath.
It is not necessary nor recommanded to have JSR 305 dependency in project classpath to
take advatange of Spring null-safe API. Only projects like
Spring-based libraries using null-safety annotations in their codebase should add
`com.google.code.findbugs:jsr305:3.0.2` with `compileOnly` Gradle configuration or Maven
`provided` scope to avoid compile warnings.
====
They are also used by Kotlin which supports natively

Loading…
Cancel
Save