Separate uast-idea modules into fir and fe10 implementations
This commit is contained in:
committed by
TeamCityServer
parent
ba6c3c7fe0
commit
8b722cfc47
@@ -79,6 +79,7 @@ dependencies {
|
|||||||
compile(project(":idea:line-indent-provider"))
|
compile(project(":idea:line-indent-provider"))
|
||||||
compile(project(":plugins:uast-kotlin"))
|
compile(project(":plugins:uast-kotlin"))
|
||||||
compile(project(":plugins:uast-kotlin-idea"))
|
compile(project(":plugins:uast-kotlin-idea"))
|
||||||
|
compile(project(":plugins:uast-kotlin-idea-base"))
|
||||||
compile(project(":kotlin-script-util")) { isTransitive = false }
|
compile(project(":kotlin-script-util")) { isTransitive = false }
|
||||||
compile(project(":kotlin-scripting-intellij"))
|
compile(project(":kotlin-scripting-intellij"))
|
||||||
compile(project(":compiler:backend.jvm")) // Do not delete, for Pill
|
compile(project(":compiler:backend.jvm")) // Do not delete, for Pill
|
||||||
|
|||||||
@@ -11,6 +11,9 @@ dependencies {
|
|||||||
compile(intellijCoreDep())
|
compile(intellijCoreDep())
|
||||||
implementation(project(":idea:idea-fir-fe10-binding"))
|
implementation(project(":idea:idea-fir-fe10-binding"))
|
||||||
|
|
||||||
|
compile(project(":plugins:uast-kotlin-idea-fir"))
|
||||||
|
compile(project(":plugins:uast-kotlin-idea-base"))
|
||||||
|
|
||||||
// <temp>
|
// <temp>
|
||||||
compile(project(":idea:idea-core"))
|
compile(project(":idea:idea-core"))
|
||||||
compile(project(":idea"))
|
compile(project(":idea"))
|
||||||
|
|||||||
@@ -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.platform.jvm.isJvm
|
||||||
import org.jetbrains.kotlin.psi.KtFile
|
import org.jetbrains.kotlin.psi.KtFile
|
||||||
|
|
||||||
internal val PsiElement.isJvmElement: Boolean
|
val PsiElement.isJvmElement: Boolean
|
||||||
get() {
|
get() {
|
||||||
if (allModulesSupportJvm(project)) return true
|
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:ide-common"))
|
||||||
compile(project(":idea:idea-core"))
|
compile(project(":idea:idea-core"))
|
||||||
compile(project(":plugins:uast-kotlin"))
|
compile(project(":plugins:uast-kotlin"))
|
||||||
compile(project(":plugins:uast-kotlin-fir"))
|
compile(project(":plugins:uast-kotlin-idea-base"))
|
||||||
compileOnly(intellijDep())
|
compileOnly(intellijDep())
|
||||||
compileOnly(intellijPluginDep("java"))
|
compileOnly(intellijPluginDep("java"))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -91,6 +91,8 @@ val projectsToShadow by extra(listOf(
|
|||||||
":plugins:lint",
|
":plugins:lint",
|
||||||
":plugins:uast-kotlin",
|
":plugins:uast-kotlin",
|
||||||
":plugins:uast-kotlin-idea",
|
":plugins:uast-kotlin-idea",
|
||||||
|
":plugins:uast-kotlin-idea-fir",
|
||||||
|
":plugins:uast-kotlin-idea-base",
|
||||||
":j2k",
|
":j2k",
|
||||||
":nj2k",
|
":nj2k",
|
||||||
":nj2k:nj2k-services",
|
":nj2k:nj2k-services",
|
||||||
|
|||||||
+4
-1
@@ -213,7 +213,6 @@ include ":benchmarks",
|
|||||||
":plugins:uast-kotlin",
|
":plugins:uast-kotlin",
|
||||||
":plugins:uast-kotlin-base",
|
":plugins:uast-kotlin-base",
|
||||||
":plugins:uast-kotlin-fir",
|
":plugins:uast-kotlin-fir",
|
||||||
":plugins:uast-kotlin-idea",
|
|
||||||
":plugins:annotation-based-compiler-plugins-ide-support",
|
":plugins:annotation-based-compiler-plugins-ide-support",
|
||||||
":plugins:base-compiler-plugins-ide-support",
|
":plugins:base-compiler-plugins-ide-support",
|
||||||
":kotlin-script-runtime",
|
":kotlin-script-runtime",
|
||||||
@@ -355,6 +354,10 @@ include ":plugins:lombok:lombok-compiler-plugin",
|
|||||||
":plugins:lombok:lombok-ide-plugin",
|
":plugins:lombok:lombok-ide-plugin",
|
||||||
":kotlin-lombok"
|
":kotlin-lombok"
|
||||||
|
|
||||||
|
include ":plugins:uast-kotlin-idea",
|
||||||
|
":plugins:uast-kotlin-idea-base",
|
||||||
|
":plugins:uast-kotlin-idea-fir"
|
||||||
|
|
||||||
include ":prepare:ide-plugin-dependencies:android-extensions-compiler-plugin-for-ide",
|
include ":prepare:ide-plugin-dependencies:android-extensions-compiler-plugin-for-ide",
|
||||||
":prepare:ide-plugin-dependencies:allopen-compiler-plugin-for-ide",
|
":prepare:ide-plugin-dependencies:allopen-compiler-plugin-for-ide",
|
||||||
":prepare:ide-plugin-dependencies:allopen-compiler-plugin-tests-for-ide",
|
":prepare:ide-plugin-dependencies:allopen-compiler-plugin-tests-for-ide",
|
||||||
|
|||||||
Reference in New Issue
Block a user