You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have multiple SBT subprojects depending on a base project. They all need to have enabled the Play plugin for them to compile.
// base/build.sbt
lazy val base = (project in file(".")).enablePlugins(PlayScala)
// sub1/build.sbt
lazy val base = ProjectRef(file("../base"), "base")
lazy val sub1 = (project in file(".")).enablePlugins(PlayScala).dependsOn(base % "test->test;compile->compile").aggregate(base)
// sub2/build.sbt
lazy val base = ProjectRef(file("../base"), "base")
lazy val sub2 = (project in file(".")).enablePlugins(PlayScala).dependsOn(base % "test->test;compile->compile").aggregate(base)
If I do an sbt run or sbt compile in the respective directories these projects build and run just fine. However, when I try to import these projects into IntelliJ by using the native SBT project support, an error is thrown. IntelliJ's SBT plugin fails with the following error:
value enablePlugins is not a member of sbt.Project
After which the import fails. It seems I encountered a bug?
The text was updated successfully, but these errors were encountered:
I have multiple SBT subprojects depending on a base project. They all need to have enabled the Play plugin for them to compile.
If I do an
sbt run
orsbt compile
in the respective directories these projects build and run just fine. However, when I try to import these projects into IntelliJ by using the native SBT project support, an error is thrown. IntelliJ's SBT plugin fails with the following error:After which the import fails. It seems I encountered a bug?
The text was updated successfully, but these errors were encountered: