[minor] Drop some usages of kotlin reflection in scripting compiler plugin
This commit is contained in:
@@ -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
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user