We annotated a method of an external library as @NotNull using external annotation, so we won't need to use "!!" on the returned value. When compiling with intelliJ this works fine, however when running gradle build we get:
warning:Annotations path entry points to a non-existent location:
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type …?
Execution failed for task ‘:compileKotlin’.
it looks like grade isn’t aware of the external annotations file?
10x,
Alex