Running tests and building from Intelij works fine. But, when I try to build or test an application from the command line I'm getting this error
error: package javax.annotation does not exist
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2019-06-27T18:20:07.986+03:00")
I'm using the gradle v 6.8 wrapper. JDK is AdoptOpenJDK 1.8