e0989caf46
Introduce a new method KotlinClassFinder#findBuiltInsData, which is only implemented correctly in the JvmCliVirtualFileFinder because it's only used in the compiler code at the moment. Introduce JvmBuiltInsPackageFragmentProvider, the purpose of which is to look for .kotlin_builtins files in the classpath and provide definitions of built-ins from those files. Also exclude script.runtime from compilation because, as other excluded modules, it has no dependency on the stdlib and is no longer compilable from the IDE now, because it cannot resolve built-ins from anywhere
35 lines
1.5 KiB
XML
35 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project version="4">
|
|
<component name="CompilerConfiguration">
|
|
<option name="BUILD_PROCESS_HEAP_SIZE" value="2000" />
|
|
<excludeFromCompile>
|
|
<directory url="file://$PROJECT_DIR$/core/reflection.jvm" includeSubdirectories="true" />
|
|
<directory url="file://$PROJECT_DIR$/core/runtime.jvm" includeSubdirectories="true" />
|
|
<directory url="file://$PROJECT_DIR$/core/builtins" includeSubdirectories="true" />
|
|
<directory url="file://$PROJECT_DIR$/core/script.runtime" includeSubdirectories="true" />
|
|
</excludeFromCompile>
|
|
<wildcardResourcePatterns>
|
|
<entry name="!?*.java" />
|
|
<entry name="!?*.form" />
|
|
<entry name="!?*.class" />
|
|
<entry name="!?*.groovy" />
|
|
<entry name="!?*.scala" />
|
|
<entry name="!?*.flex" />
|
|
<entry name="!?*.kt" />
|
|
<entry name="!?*.clj" />
|
|
</wildcardResourcePatterns>
|
|
<bytecodeTargetLevel>
|
|
<module name="android-studio" target="1.8" />
|
|
<module name="idea" target="1.8" />
|
|
<module name="idea-analysis" target="1.8" />
|
|
<module name="idea-completion" target="1.8" />
|
|
<module name="idea-core" target="1.8" />
|
|
<module name="idea-live-templates" target="1.8" />
|
|
<module name="idea-repl" target="1.8" />
|
|
<module name="idea-runner" target="1.8" />
|
|
<module name="idea-test-framework" target="1.8" />
|
|
<module name="j2k" target="1.8" />
|
|
<module name="kannotator-jps-plugin-test" target="1.8" />
|
|
</bytecodeTargetLevel>
|
|
</component>
|
|
</project> |