File tree 2 files changed +3
-2
lines changed
sbt-dotty/src/dotty/tools/sbtplugin
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,8 @@ object Build {
289
289
compilerJar = jars.find(_.getName.startsWith(" dotty-compiler_2.12" )).get
290
290
}
291
291
292
- // All compiler dependencies except the library
292
+ // All dotty-doc's and compiler's dependencies except the library.
293
+ // (we get the compiler's dependencies because dottydoc depends on the compiler)
293
294
val otherDependencies = {
294
295
val excluded = Set (" dotty-library" , " dotty-compiler" )
295
296
fullClasspath.in(`dotty-doc`, Compile ).value
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import sbt._
4
4
import sbt .Keys ._
5
5
import sbt .librarymanagement .DependencyResolution
6
6
import sbt .internal .inc .ScalaInstance
7
- // import sbt.inc.{ ClassfileManager, IncOptions }
8
7
import xsbti .compile ._
9
8
import java .net .URLClassLoader
10
9
import java .util .Optional
@@ -199,6 +198,7 @@ object DottyPlugin extends AutoPlugin {
199
198
)
200
199
}
201
200
201
+ /** Fetch artefacts for scalaOrganization.value %% moduleName % scalaVersion.value */
202
202
private def fetchArtifactsOf (moduleName : String ) = Def .task {
203
203
val dependencyResolution = Keys .dependencyResolution.value
204
204
val log = streams.value.log
You can’t perform that action at this time.
0 commit comments