Shared module to recognize code in jvm lib jar Clone test project and compile: git clone https://github.com/marcgrue/shared-recogn-jvm-lib.git cd shared-recogn-jvm-lib sbt compile Open in Intellij. Notice the difference between JvmTest and SharedTest (see comments in code).