Add stdlib to gradle scripts classpath, since it is not included into compiler anymore
This commit is contained in:
+1
-1
@@ -98,7 +98,7 @@ abstract class AbstractGradleKotlinDSLTemplateProvider(project: Project, private
|
||||
// TODO_R: check this against kotlin-dsl branch that uses daemon
|
||||
override val additionalResolverClasspath: List<File> get() =
|
||||
// additionally need compiler jar to load gradle resolver
|
||||
gradleLibDir.listFiles { file -> file.name.startsWith("kotlin-compiler-embeddable") }
|
||||
gradleLibDir.listFiles { file -> file.name.startsWith("kotlin-compiler-embeddable") || file.name.startsWith("kotlin-stdlib") }
|
||||
.firstOrNull()?.let(::listOf).orEmpty()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user