Files
kotlin-fork/plugins/kapt3/kapt3-idea/build.gradle.kts
T
2018-01-30 17:06:07 +03:00

36 lines
874 B
Kotlin

apply { plugin("kotlin") }
jvmTarget = "1.6"
configureIntellijPlugin {
setPlugins("android", "gradle")
}
dependencies {
compile(projectDist(":kotlin-stdlib"))
compile(project(":compiler:frontend"))
compile(project(":idea")) { isTransitive = false }
compile(project(":idea:kotlin-gradle-tooling"))
compile(project(":kotlin-annotation-processing"))
}
afterEvaluate {
dependencies {
compile(intellij { include("openapi.jar", "external-system-rt.jar") })
compile(intellijPlugin("gradle") { include("gradle-core-*.jar", "gradle-tooling-api-*.jar", "gradle.jar") })
compile(intellijPlugin("android") { include("android.jar", "android-common.jar", "sdklib.jar", "sdk-common.jar", "sdk-tools.jar") })
}
}
sourceSets {
"main" { projectDefault() }
"test" {}
}
val jar = runtimeJar()
ideaPlugin {
from(jar)
}