play-scala-starter-example icon indicating copy to clipboard operation
play-scala-starter-example copied to clipboard

build.gradle does not work with intellij

Open Allan-Gong opened this issue 6 years ago • 0 comments

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"
}

Allan-Gong avatar Oct 27 '18 03:10 Allan-Gong