sbt add java project

前端 未结 4 1937
青春惊慌失措
青春惊慌失措 2021-01-22 15:14

Working on some scala software in IDEA IntelliJ. (It also features Android if it is essential). Suppose I have two projects:

P1, written in scala, uses sbt as the build

4条回答
  •  庸人自扰
    2021-01-22 15:39

    When I try to compile that, sbt tells me that it cannot find definitions of that dependency.

    Two possible solutions I see: add those dependencies in your build.sbt project or as suggested build the gradle project separately, publish it to your local repository (or local folder) and reference it from sbt project.

提交回复
热议问题