aca74cef0e
See the previous commit for information on the kotlin-reflect vs kotlin-reflect-api distinction. Add kotlin-reflect as an explicit runtime dependency of most of the test configurations because even though they all depend on tests-common, the runtime dependency on kotlin-reflect is not exported from tests-common to other modules because the projectTests dependency is not transitive.
45 lines
1.6 KiB
Kotlin
45 lines
1.6 KiB
Kotlin
|
|
apply { plugin("kotlin") }
|
|
|
|
dependencies {
|
|
compile(projectDist(":kotlin-stdlib"))
|
|
compile(project(":core:util.runtime"))
|
|
compile(project(":compiler:backend"))
|
|
compile(project(":compiler:frontend"))
|
|
compile(project(":compiler:frontend.java"))
|
|
compile(project(":compiler:light-classes"))
|
|
compileOnly(ideaSdkDeps("openapi", "idea"))
|
|
testCompile(projectDist(":kotlin-test:kotlin-test-jvm"))
|
|
testCompile(projectTests(":compiler:tests-common"))
|
|
testCompile(commonDep("junit:junit"))
|
|
testCompile(project(":compiler:util"))
|
|
testCompile(project(":compiler:cli"))
|
|
testCompile(project(":idea:idea-test-framework"))
|
|
testCompileOnly(ideaSdkDeps("idea_rt"))
|
|
testRuntime(projectDist(":kotlin-reflect"))
|
|
testRuntime(ideaSdkDeps("*.jar"))
|
|
testRuntime(ideaPluginDeps("*.jar", plugin = "junit"))
|
|
testRuntime(ideaPluginDeps("*.jar", plugin = "gradle"))
|
|
testRuntime(ideaPluginDeps("*.jar", plugin = "Groovy"))
|
|
testRuntime(ideaPluginDeps("*.jar", plugin = "android"))
|
|
testRuntime(ideaPluginDeps("*.jar", plugin = "maven", optional = true))
|
|
testRuntime(ideaPluginDeps("*.jar", plugin = "properties"))
|
|
testRuntime(project(":idea:idea-android"))
|
|
testRuntime(project(":idea:idea-gradle"))
|
|
testRuntime(project(":sam-with-receiver-ide-plugin"))
|
|
testRuntime(project(":allopen-ide-plugin"))
|
|
testRuntime(project(":noarg-ide-plugin"))
|
|
testRuntime(project(":plugins:android-extensions-ide"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
testsJar {}
|
|
|
|
projectTest {
|
|
workingDir = rootDir
|
|
}
|