play-scala-starter-example
play-scala-starter-example copied to clipboard
build.gradle does not work with intellij
When loading the play-scala-starter-example
project as a gradle project in intellij.
The external libraries only shows java 1.8 related libraries. All the dependencies loaded via gradle are missing.
I suspect it has something to do with using play
and playTest
to load the dependencies instead of the normal compile
and testCompile
. What is the difference between the two ? Can someone help ?
dependencies {
play "com.typesafe.play:play-guice_$scalaVersion:$playVersion"
play "com.typesafe.play:play-logback_$scalaVersion:$playVersion"
play "com.h2database:h2:1.4.197"
playTest "org.scalatestplus.play:scalatestplus-play_$scalaVersion:3.1.2"
}