Fix embeddable compiler dependencies, fix dist task, use runtimeJar...

dependencies where appropriate, some helpers refactoring
This commit is contained in:
Ilya Chernikov
2017-09-19 14:28:43 +02:00
parent b7226951b6
commit d61695be55
10 changed files with 36 additions and 31 deletions
@@ -7,7 +7,7 @@ dependencies {
compileOnly(project(":compiler:frontend"))
compileOnly(project(":compiler:frontend.java"))
compileOnly(project(":compiler:plugin-api"))
runtime(projectDist(":kotlin-compiler"))
runtime(projectRuntimeJar(":kotlin-compiler"))
runtime(projectDist(":kotlin-stdlib"))
}
@@ -24,7 +24,9 @@ javadocJar()
publish()
dist(targetName = the<BasePluginConvention>().archivesBaseName.removePrefix("kotlin-") + ".jar")
dist {
rename("kotlin-", "")
}
ideaPlugin {
from(jar)