Skip to content
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.

build.gradle does not work with intellij #98

Open
Allan-Gong opened this issue Oct 27, 2018 · 0 comments
Open

build.gradle does not work with intellij #98

Allan-Gong opened this issue Oct 27, 2018 · 0 comments

Comments

@Allan-Gong
Copy link

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"
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants