[minor] Drop some usages of kotlin reflection in scripting compiler plugin

This commit is contained in:
Ilya Chernikov
2019-09-11 14:13:37 +02:00
parent 689a5cbdf5
commit f8db150a2b
7 changed files with 10 additions and 10 deletions
@@ -8,9 +8,7 @@ jvmTarget = "1.6"
dependencies {
compile(kotlinStdlib())
compileOnly(project(":kotlin-reflect-api"))
compile(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) { isTransitive = false }
runtime(project(":kotlin-reflect"))
testCompile(commonDep("junit"))
}
@@ -25,7 +25,7 @@ class KotlinType private constructor(
/**
* Constructs KotlinType from reflected [kclass]
*/
constructor(kclass: KClass<*>) : this(kclass.qualifiedName!!, kclass)
constructor(kclass: KClass<*>) : this(kclass.java.name, kclass)
// TODO: implement other approach for non-class types
/**