Scripting: avoid definitions discovery when compiling regular kotlin
If only regular kotlin .kt (and .java) files are compiled, do not register file extensions that may come from discovered script definitions. Since the discovery is lazy by itself, this should skip jars processing for regular compilation scenarios without scripts. #KT-47816 fixed
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
|
||||
fun main() {
|
||||
println("OK")
|
||||
}
|
||||
Reference in New Issue
Block a user