@@ -393,9 +393,9 @@ object Build {
393
393
baseDirectory in Test := baseDirectory.value / " .." ,
394
394
unmanagedSourceDirectories in Test += baseDirectory.value / " input" / " src" / " main" / " scala" ,
395
395
libraryDependencies ++= List (
396
- (" org.scalameta" %% " semanticdb" % " 4.0.0" % Test ).withDottyCompat(scalaVersion.value),
397
- " com.novocode" % " junit-interface" % " 0.11" % Test ,
398
- " com.googlecode.java-diff-utils" % " diffutils" % " 1.3.0" % Test
396
+ (" org.scalameta" %% " semanticdb" % " 4.0.0" ).withDottyCompat(scalaVersion.value),
397
+ " com.novocode" % " junit-interface" % " 0.11" ,
398
+ " com.googlecode.java-diff-utils" % " diffutils" % " 1.3.0"
399
399
)
400
400
)
401
401
@@ -919,6 +919,11 @@ object Build {
919
919
lazy val `dotty-bench-bootstrapped` = project.in(file(" bench" )).asDottyBench(Bootstrapped )
920
920
921
921
lazy val `dotty-semanticdb` = project.in(file(" semanticdb" )).asDottySemanticdb(Bootstrapped )
922
+ lazy val `dotty-semanticdb-input` = project.in(file(" semanticdb/input" )).settings(
923
+ scalaVersion := " 2.12.7" ,
924
+ scalacOptions += " -Yrangepos" ,
925
+ addCompilerPlugin(" org.scalameta" % " semanticdb-scalac" % " 4.0.0" cross CrossVersion .full)
926
+ )
922
927
923
928
// Depend on dotty-library so that sbt projects using dotty automatically
924
929
// depend on the dotty-library
@@ -1317,6 +1322,7 @@ object Build {
1317
1322
enablePlugins(JmhPlugin )
1318
1323
1319
1324
def asDottySemanticdb (implicit mode : Mode ): Project = project.withCommonSettings.
1325
+ aggregate(`dotty-semanticdb-input`).
1320
1326
dependsOn(dottyCompiler).
1321
1327
settings(semanticdbSettings)
1322
1328
0 commit comments