42 lines
1.3 KiB
Kotlin
42 lines
1.3 KiB
Kotlin
apply { plugin("kotlin") }
|
|
|
|
configureIntellijPlugin {
|
|
setPlugins("gradle")
|
|
setExtraDependencies("intellij-core")
|
|
}
|
|
|
|
dependencies {
|
|
compile(projectDist(":kotlin-stdlib"))
|
|
compileOnly(project(":kotlin-reflect-api"))
|
|
compile(project(":core:descriptors"))
|
|
compile(project(":core:descriptors.jvm"))
|
|
compile(project(":compiler:frontend"))
|
|
compile(project(":compiler:frontend.java"))
|
|
compile(project(":compiler:frontend.script"))
|
|
compile(project(":compiler:light-classes"))
|
|
compile(project(":compiler:util"))
|
|
compile(project(":j2k"))
|
|
compile(project(":idea:ide-common"))
|
|
compile(project(":idea:idea-jps-common"))
|
|
compile(project(":plugins:android-extensions-compiler"))
|
|
compile(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) { isTransitive = false }
|
|
compile(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-jdk8")) { isTransitive = false }
|
|
}
|
|
|
|
afterEvaluate {
|
|
dependencies {
|
|
compile(intellijCoreJar())
|
|
compile(intellij { include("util.jar", "openapi.jar", "idea.jar") })
|
|
compile(intellijPlugin("gradle") { include("gradle-tooling-api-*.jar", "gradle.jar") })
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
"main" {
|
|
projectDefault()
|
|
java.srcDir("../idea-analysis/src")
|
|
resources.srcDir("../idea-analysis/src").apply { include("**/*.properties") }
|
|
}
|
|
"test" {}
|
|
}
|