Files
kotlin-fork/plugins/allopen/allopen-cli/build.gradle.kts
T
Ilya Chernikov e18b77af21 Refactor compiler-related published projects
- move preparation into separate projects
- rename projects for publishing
- add compiler plugins
2017-09-19 21:37:14 +02:00

33 lines
694 B
Kotlin

description = "Kotlin AllOpen Compiler Plugin"
apply { plugin("kotlin") }
dependencies {
val compileOnly by configurations
val runtime by configurations
compileOnly(ideaSdkCoreDeps("intellij-core"))
compileOnly(project(":compiler:plugin-api"))
compileOnly(project(":compiler:frontend"))
runtime(project(":kotlin-compiler", configuration = "runtimeJar"))
runtime(project(":kotlin-stdlib"))
}
configureKotlinProjectSourcesDefault()
configureKotlinProjectNoTests()
val jar = runtimeJar {
from(fileTree("$projectDir/src")) { include("META-INF/**") }
}
dist {
from(jar)
rename("^kotlin-", "")
}
ideaPlugin {
from(jar)
rename("^kotlin-", "")
}