I am trying to learn scala and this is my first language on the JVM, so apologies for asking what is probably a basic question. I am trying to use a specific BLAS/LAPACK library for netlib-java. This can be achieved by adding the sbt flag:
sbt -J"-Dcom.github.fommil.netlib.BLAS=com.github.fommil.netlib.NativeRefBLAS"
From the man pages of sbt "-J-X pass option -X directly to the java runtime (-J is stripped)"
However I don't usually run my application from command line like this, I'm using intellij-idea and was wondering how I can configure it to take this option or whether this option can be specified in my build.sbt file?