Remove kotlin-reflect.jar dependency from util module and move reflectionUtil.kt closer to "clients"

Main goal is get rid of kotlin-reflect.jar from modules what required for minimal compiler.jar which can compile Kotlin only to JS to make it smaller.
This commit is contained in:
Zalim Bashorov
2017-04-13 22:21:51 +03:00
parent f32fcd4ec1
commit 9783a31779
12 changed files with 18 additions and 18 deletions
+1
View File
@@ -12,5 +12,6 @@
<orderEntry type="library" name="jps" level="project" />
<orderEntry type="module" module-name="frontend.java" />
<orderEntry type="library" name="kotlin-reflect" level="project" />
<orderEntry type="module" module-name="frontend.script" />
</component>
</module>
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2016 JetBrains s.r.o.
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
package org.jetbrains.kotlin.cli.common.repl
import org.jetbrains.kotlin.utils.tryCreateCallableMapping
import org.jetbrains.kotlin.script.tryCreateCallableMapping
import java.lang.reflect.Proxy
import javax.script.Invocable
import javax.script.ScriptException