Implement configuration for describing only published runtime dependencies...

and fix runtime dependencies for published scripting artifacts
This commit is contained in:
Ilya Chernikov
2019-08-20 17:41:26 +02:00
parent 3d3e86b5fa
commit 8219d9853c
4 changed files with 43 additions and 5 deletions
+4 -2
View File
@@ -5,6 +5,8 @@ plugins {
jvmTarget = "1.6"
publish()
dependencies {
compile(project(":kotlin-script-runtime"))
compile(kotlinStdlib())
@@ -15,6 +17,8 @@ dependencies {
compileOnly(project(":compiler:cli-common"))
compileOnly(project(":kotlin-reflect-api"))
compileOnly(intellijCoreDep())
publishedRuntime(project(":kotlin-compiler"))
publishedRuntime(project(":kotlin-reflect"))
}
sourceSets {
@@ -22,8 +26,6 @@ sourceSets {
"test" {}
}
publish()
standardPublicJars()
projectTest(parallel = true)
@@ -6,6 +6,8 @@ plugins {
jvmTarget = "1.6"
publish()
dependencies {
compile(project(":kotlin-script-runtime"))
compile(kotlinStdlib())
@@ -15,6 +17,10 @@ dependencies {
compileOnly(project(":compiler:cli"))
compileOnly(project(":kotlin-reflect-api"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
publishedRuntime(project(":kotlin-compiler"))
publishedRuntime(project(":kotlin-scripting-compiler"))
publishedRuntime(project(":kotlin-reflect"))
publishedRuntime(commonDep("org.jetbrains.intellij.deps", "trove4j"))
}
sourceSets {
@@ -22,7 +28,5 @@ sourceSets {
"test" {}
}
publish()
standardPublicJars()