Skip to content

Commit f7c435e

Browse files
committed
Remove zinc-compile module
JavaDoc caching doesn't need to be implemented in Zinc.
1 parent c5551d1 commit f7c435e

File tree

4 files changed

+1
-231
lines changed

4 files changed

+1
-231
lines changed

build.sbt

-17
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ lazy val aggregated: Seq[ProjectReference] = compilerInterface.projectRefs ++
145145
zincClasspath.projectRefs ++
146146
zincClassfile.projectRefs ++
147147
zincCompileCore.projectRefs ++
148-
zincCompile.projectRefs ++
149148
zincCore.projectRefs ++
150149
zincPersist.projectRefs ++
151150
Seq(zincPersistCore: ProjectReference) ++
@@ -239,22 +238,6 @@ lazy val zincTesting = (projectMatrix in internalPath / "zinc-testing")
239238
.jvmPlatform(scalaVersions = scala3_only)
240239
.configure(addSbtIO, addSbtUtilLogging)
241240

242-
lazy val zincCompile = (projectMatrix in zincRootPath / "zinc-compile")
243-
.dependsOn(zincCompileCore, zincCompileCore % "test->test")
244-
.settings(
245-
name := "zinc Compile",
246-
mimaSettings,
247-
mimaBinaryIssueFilters ++= Seq(
248-
exclude[IncompatibleSignatureProblem]("sbt.inc.Doc*"),
249-
exclude[IncompatibleResultTypeProblem]("sbt.inc.Doc*"),
250-
exclude[IncompatibleMethTypeProblem]("sbt.inc.Doc*"),
251-
exclude[DirectMissingMethodProblem]("sbt.inc.Doc*"),
252-
exclude[ReversedMissingMethodProblem]("sbt.inc.Doc*"),
253-
),
254-
)
255-
.jvmPlatform(scalaVersions = scala3_only)
256-
.configure(addBaseSettingsAndTestDeps, addSbtUtilTracking)
257-
258241
// Persists the incremental data structures using Protobuf
259242
lazy val zincPersist = (projectMatrix in internalPath / "zinc-persist")
260243
.dependsOn(zincCore, zincCompileCore, zincPersistCoreAssembly, zincCore % "test->test")

internal/zinc-classfile/src/test/scala/sbt/internal/inc/classfile/JavaCompilerForUnitTesting.scala

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import scala.collection.JavaConverters._
3131
object JavaCompilerForUnitTesting {
3232
private class TestVirtualFile(p: Path) extends BasicVirtualFileRef(p.toString) with VirtualFile {
3333
override def contentHash(): Long = sbt.io.Hash(p.toFile).hashCode.toLong
34+
override lazy val contentHashStr: String = contentHash().toHexString
3435
override def input(): InputStream = Files.newInputStream(p)
3536
}
3637

zinc-compile/src/main/scala/sbt/inc/Doc.scala

-143
This file was deleted.

zinc-compile/src/test/scala/inc/DocSpec.scala

-71
This file was deleted.

0 commit comments

Comments
 (0)