Skip to content

Commit ba80405

Browse files
committed
Delegate build script class path in WithStdlibResolver
1 parent b8ed07d commit ba80405

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

shared/src/main/kotlin/org/javacs/kt/classpath/WithStdlibResolver.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ internal class WithStdlibResolver(private val wrapped: ClassPathResolver) : Clas
77
override val resolverType: String get() = "Stdlib + ${wrapped.resolverType}"
88
override val classpath: Set<Path> get() = wrapWithStdlib(wrapped.classpath)
99
override val classpathOrEmpty: Set<Path> get() = wrapWithStdlib(wrapped.classpathOrEmpty)
10+
override val buildScriptClasspath: Set<Path> get() = wrapWithStdlib(wrapped.buildScriptClasspath)
11+
override val buildScriptClasspathOrEmpty: Set<Path> get() = wrapWithStdlib(wrapped.buildScriptClasspathOrEmpty)
1012
}
1113

1214
private fun wrapWithStdlib(paths: Set<Path>): Set<Path> {

0 commit comments

Comments
 (0)