Skip to content

Commit 6ac1141

Browse files
committed
Remove kotlinWorkerClasspath
1 parent 04a1812 commit 6ac1141

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

kotlinlib/src/mill/kotlinlib/KotlinModule.scala

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,19 +90,15 @@ trait KotlinModule extends JavaModule { outer =>
9090

9191
protected def kotlinWorkerRef: ModuleRef[KotlinWorkerModule] = ModuleRef(KotlinWorkerModule)
9292

93-
private[kotlinlib] def kotlinWorkerClasspath = Task {
94-
defaultResolver().classpath(Seq(
95-
Dep.millProjectModule("mill-kotlinlib-worker-impl")
96-
))
97-
}
98-
9993
/**
10094
* The Java classpath resembling the Kotlin compiler.
10195
* Default is derived from [[kotlinCompilerIvyDeps]].
10296
*/
10397
def kotlinCompilerClasspath: T[Seq[PathRef]] = Task {
104-
defaultResolver().classpath(kotlinCompilerIvyDeps()) ++
105-
kotlinWorkerClasspath()
98+
val deps = kotlinCompilerIvyDeps() ++ Seq(
99+
Dep.millProjectModule("mill-kotlinlib-worker-impl")
100+
)
101+
defaultResolver().classpath(deps)
106102
}
107103

108104
/**

0 commit comments

Comments
 (0)