f58acbeef5
Excludes stdlib projects from build and uses bootstrap stdlib artifacts #KT-29205
37 lines
869 B
Kotlin
37 lines
869 B
Kotlin
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
jvmTarget = "1.6"
|
|
|
|
dependencies {
|
|
compile(project(":kotlin-script-runtime"))
|
|
compile(kotlinStdlib())
|
|
compile(project(":kotlin-scripting-common"))
|
|
compile(project(":kotlin-scripting-jvm"))
|
|
compile(project(":kotlin-script-util"))
|
|
compileOnly(project(":compiler:cli"))
|
|
compileOnly(project(":kotlin-reflect-api"))
|
|
compileOnly(intellijCoreDep())
|
|
runtime(projectRuntimeJar(":kotlin-compiler"))
|
|
runtime(project(":kotlin-reflect"))
|
|
testCompile(projectTests(":compiler:tests-common"))
|
|
testCompile(commonDep("junit"))
|
|
testCompile(project(":compiler:daemon-common")) // TODO: fix import (workaround for jps build)
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
standardPublicJars()
|
|
|
|
publish()
|
|
|
|
projectTest {
|
|
workingDir = rootDir
|
|
}
|