Enable strict null-safety for Kotlin projects

Closes gh-591
This commit is contained in:
Stephane Nicoll
2018-02-07 16:13:48 +01:00
parent ba164fc6df
commit e58b7bf701
16 changed files with 52 additions and 4 deletions

View File

@@ -58,6 +58,9 @@
<artifactId>kotlin-maven-plugin</artifactId>
<groupId>org.jetbrains.kotlin</groupId>
<configuration>
<args>
<arg>-Xjsr305=strict</arg>
</args>
<compilerPlugins>
<plugin>spring</plugin>
</compilerPlugins>