@@ -393,9 +393,9 @@ object Build {
393393    baseDirectory in Test  :=  baseDirectory.value /  " .." 
394394    unmanagedSourceDirectories in Test  +=  baseDirectory.value /  " input" /  " src" /  " main" /  " scala" 
395395    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" 
397+       " com.novocode" %  " junit-interface" %  " 0.11" 
398+       " com.googlecode.java-diff-utils" %  " diffutils" %  " 1.3.0" 
399399    )
400400  )
401401
@@ -919,6 +919,11 @@ object Build {
919919  lazy  val  `dotty-bench-bootstrapped`  =  project.in(file(" bench" Bootstrapped )
920920
921921  lazy  val  `dotty-semanticdb`  =  project.in(file(" semanticdb" Bootstrapped )
922+   lazy  val  `dotty-semanticdb-input`  =  project.in(file(" semanticdb/input" 
923+     scalaVersion :=  " 2.12.7" 
924+     scalacOptions +=  " -Yrangepos" 
925+     addCompilerPlugin(" org.scalameta" %  " semanticdb-scalac" %  " 4.0.0" CrossVersion .full)
926+   )
922927
923928  //  Depend on dotty-library so that sbt projects using dotty automatically
924929  //  depend on the dotty-library
@@ -1317,6 +1322,7 @@ object Build {
13171322      enablePlugins(JmhPlugin )
13181323
13191324    def  asDottySemanticdb (implicit  mode : Mode ):  Project  =  project.withCommonSettings.
1325+       aggregate(`dotty-semanticdb-input`).
13201326      dependsOn(dottyCompiler).
13211327      settings(semanticdbSettings)
13221328
0 commit comments