ad2adadb36
instead, plugins should emit the code similar to the TYPE_OF one with a special call to MagicApiIntrinsics.voidMagicApiCall directly afterwards. This is required because old compiler need to correctly inline code rewritten by plugin.
20 lines
370 B
Kotlin
20 lines
370 B
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
api(project(":compiler:util"))
|
|
api(project(":compiler:frontend"))
|
|
api(project(":compiler:backend-common"))
|
|
api(project(":compiler:ir.tree"))
|
|
api(project(":compiler:ir.interpreter"))
|
|
compileOnly(intellijCore())
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" {}
|
|
}
|
|
|