sbt-imported project: libraryDependencies not seen by Java code

There seems to be a problem with sbt based projects that are purely Java: The `libraryDependencies` are not seen by the compiler. For example:

autoScalaLibrary := false

:= false

:= Some("de.sciss.eisenkraut.Main")

libraryDependencies += "de.sciss" % "weblaf" % "1.28"

Here I have some Java source code ``. Inside I use the WebLaF library, but the package imports and classes of WebLaF are red. In the Project Settings, the library has correctly been created, but the compilation fails:

    Error:(28, 28) java: package com.alee.laf.toolbar does not exist

Best, .hh.

1 comment

Hi! Thanks for the report. Fix for this problem will be shipped in upcoming release of Scala plugin.


Please sign in to leave a comment.