Separate uast-idea modules into fir and fe10 implementations
This commit is contained in:
committed by
TeamCityServer
parent
ba6c3c7fe0
commit
8b722cfc47
@@ -0,0 +1,20 @@
|
||||
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
id("jps-compatible")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile(kotlinStdlib())
|
||||
compile(project(":core:util.runtime"))
|
||||
compile(project(":idea:ide-common"))
|
||||
compile(project(":idea:idea-core"))
|
||||
compileOnly(intellijDep())
|
||||
compileOnly(intellijPluginDep("java"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
"main" { projectDefault() }
|
||||
"test" {}
|
||||
}
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ import org.jetbrains.kotlin.idea.util.module
|
||||
import org.jetbrains.kotlin.platform.jvm.isJvm
|
||||
import org.jetbrains.kotlin.psi.KtFile
|
||||
|
||||
internal val PsiElement.isJvmElement: Boolean
|
||||
val PsiElement.isJvmElement: Boolean
|
||||
get() {
|
||||
if (allModulesSupportJvm(project)) return true
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
id("jps-compatible")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile(kotlinStdlib())
|
||||
compile(project(":core:util.runtime"))
|
||||
compile(project(":compiler:backend"))
|
||||
compile(project(":compiler:frontend.java"))
|
||||
compile(project(":idea:ide-common"))
|
||||
compile(project(":idea:idea-core"))
|
||||
compile(project(":plugins:uast-kotlin-idea-base"))
|
||||
compile(project(":plugins:uast-kotlin-fir"))
|
||||
compileOnly(intellijDep())
|
||||
compileOnly(intellijPluginDep("java"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
"main" { projectDefault() }
|
||||
"test" {}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ dependencies {
|
||||
compile(project(":idea:ide-common"))
|
||||
compile(project(":idea:idea-core"))
|
||||
compile(project(":plugins:uast-kotlin"))
|
||||
compile(project(":plugins:uast-kotlin-fir"))
|
||||
compile(project(":plugins:uast-kotlin-idea-base"))
|
||||
compileOnly(intellijDep())
|
||||
compileOnly(intellijPluginDep("java"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user