FIR IDE: Start IDEA FIR plugin

This commit is contained in:
Ilya Kirillov
2020-05-25 11:10:04 +03:00
parent 418903e9ef
commit 003827a4f2
3 changed files with 39 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
compileOnly(project(":compiler:psi"))
compileOnly(project(":idea:idea-frontend-independent"))
compileOnly(project(":idea:idea-core"))
compileOnly(project(":compiler:fir:fir2ir"))
compileOnly(project(":compiler:fir:resolve"))
compileOnly(project(":compiler:fir:checkers"))
compileOnly(project(":compiler:fir:java"))
compileOnly(project(":compiler:fir:jvm"))
compileOnly(intellijCoreDep())
compileOnly(intellijDep())
Platform[191].orLower {
compileOnly(intellijDep()) { includeJars("java-api", "java-impl") }
}
Platform[192].orHigher {
compileOnly(intellijPluginDep("java")) { includeJars("java-api", "java-impl") }
}
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
}
testsJar()
projectTest {
dependsOn(":dist")
workingDir = rootDir
}
+1
View File
@@ -94,6 +94,7 @@ val projectsToShadow by extra(listOf(
":idea:idea-git",
":idea:idea-jps-common",
":idea:idea-frontend-independent",
":idea:idea-frontend-fir",
*if (Ide.IJ())
arrayOf(
":idea:idea-maven",
+1
View File
@@ -184,6 +184,7 @@ include ":kotlin-build-common",
":idea:jvm-debugger:jvm-debugger-test",
":idea:scripting-support",
":idea:idea-frontend-independent",
":idea:idea-frontend-fir",
":libraries:tools:new-project-wizard",
":idea:idea-new-project-wizard",
":libraries:tools:new-project-wizard:new-project-wizard-cli",