8a82c1618c
When plugins DSL is used, there is no need to manually generate typesafe accessors for extensions and conventions (by running `./gradlew kotlinDslAccessorsSnapshot`).
26 lines
641 B
Kotlin
26 lines
641 B
Kotlin
|
|
plugins {
|
|
kotlin("jvm")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":idea"))
|
|
compileOnly(project(":idea:idea-maven"))
|
|
compileOnly(project(":idea:idea-gradle"))
|
|
compileOnly(project(":idea:idea-jvm"))
|
|
|
|
compile(intellijDep())
|
|
runtimeOnly(files(toolsJar()))
|
|
}
|
|
|
|
val intellijUltimateEnabled : Boolean by rootProject.extra
|
|
|
|
val ideaUltimatePluginDir: File by rootProject.extra
|
|
val ideaUltimateSandboxDir: File by rootProject.extra
|
|
|
|
if (intellijUltimateEnabled) {
|
|
runIdeTask("runUltimate", ideaUltimatePluginDir, ideaUltimateSandboxDir) {
|
|
dependsOn(":dist", ":ideaPlugin", ":ultimate:ideaUltimatePlugin")
|
|
}
|
|
}
|