Skip to content

Commit d52071f

Browse files
committed
Address review comments
1 parent 7078755 commit d52071f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

project/Build.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,8 @@ object Build {
289289
compilerJar = jars.find(_.getName.startsWith("dotty-compiler_2.12")).get
290290
}
291291

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)
293294
val otherDependencies = {
294295
val excluded = Set("dotty-library", "dotty-compiler")
295296
fullClasspath.in(`dotty-doc`, Compile).value

sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import sbt._
44
import sbt.Keys._
55
import sbt.librarymanagement.DependencyResolution
66
import sbt.internal.inc.ScalaInstance
7-
// import sbt.inc.{ ClassfileManager, IncOptions }
87
import xsbti.compile._
98
import java.net.URLClassLoader
109
import java.util.Optional
@@ -199,6 +198,7 @@ object DottyPlugin extends AutoPlugin {
199198
)
200199
}
201200

201+
/** Fetch artefacts for scalaOrganization.value %% moduleName % scalaVersion.value */
202202
private def fetchArtifactsOf(moduleName: String) = Def.task {
203203
val dependencyResolution = Keys.dependencyResolution.value
204204
val log = streams.value.log

0 commit comments

Comments
 (0)