Sdk passed in script dependencies should be used during script resolve

PsiElementFinder doesn't find classes from sdks that aren't Project SDK, so when Script Sdk differs from it we need to additionally search classes in script sdk using KotlinScriptDependenciesClassFinder (as we do for classes from ScriptDependencies.classpath)

^KT-31152 Fixed
This commit is contained in:
Natalia Selezneva
2019-04-26 15:29:49 +03:00
parent 5bc7b61497
commit 58eca451c4
14 changed files with 118 additions and 41 deletions
@@ -0,0 +1,3 @@
import java.util.stream.IntStream
// DEPENDENCIES: javaHome:9; classpath:runtime-classes