-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] No dependencies display #118
Comments
Modules not listed in |
So, how do you configure build.sbt? A project with Scala, GFLOT (JVM + JS), and a JS.
looks like:
```
lazy val root =
project
.in(file("."))
.aggregate(shared.js, shared.jvm, backend, frontend)
.settings(commonSettings)
.settings(
scalaVersion := Versions.Scala,
name := Versions.ProjectName,
)
.settings(rootSettings)
.rootPlugins
lazy val shared = crossProject(JSPlatform, JVMPlatform)
.in(modules("shared"))
.enablePlugins(BuildInfoPlugin)
.settings(commonSettings)
.settings(sharedDeps)
.jvmSettings(sharedJvmDeps)
.sharedPlugins
lazy val backend = project
.dependsOn(shared.jvm)
.settings(commonSettings)
.in(modules("backend"))
.settings(backendSettings)
.backendPlugins
lazy val frontend = project
.in(modules("frontend"))
.dependsOn(shared.js)
.enablePlugins(ScalaJSPlugin)
.settings(commonSettings)
.settings(frontendSettings)
.frontendPlugins
```
|
@elgca Unfortunately, the root project in your config has already used |
It might have been caused by IDEA. Today, after IDEA crashed and failed to load the project, I have to clear anything about IDEA |
Preparation action completed
addDependencyTreePlugin
intoplugins.sbt
(sbt.1.4+) or the filesdap.sbt
exists and containsaddDependencyTreePlugin
organization :=
for root project and cross-platformScreenshot of the current sbt Shell
Screenshot of the current dependency tree
Scala platform (scala js, scala jvm, scala native) and version (scala 2.x, scala 3.x)
IDEA version comes from
About Intellij IDEA
dot files
dependencies-compile.zip
The text was updated successfully, but these errors were encountered: