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
lazy val common = (project in file("common"))
.settings(...)
.cross
lazy val common_2_11 = common("2.11.8")
lazy val common_2_10 = common("2.10.6")
lazy val project1= (project in file("project1"))
.settings(...)
.dependsOn(common_2_11 % "compile->compile;test->test")
But later I have also
lazy val main = (project in file("."))
.aggregate(project1, project2, project3)
.settings(
...
)
And I get a following error:
[info] Loading project definition from
/home/project
/home/project/build.sbt:194: error: type mismatch;
found : com.lucidchart.sbtcross.BaseProject
required: sbt.ProjectReference
.aggregate(project1, project2, project3)
^
sbt.compiler.EvalException: Type error in expression
How can I solve this?
The text was updated successfully, but these errors were encountered:
Hello,
I have a cross-compiled project
common
which contains classes insrc/test/scala
that I want to share with other modules (in tests).Following SO: https://stackoverflow.com/questions/8193904/sbt-test-dependencies-in-multiprojects-make-the-test-code-available-to-dependen
I wanted to make it as such:
But later I have also
And I get a following error:
How can I solve this?
The text was updated successfully, but these errors were encountered: