Replace dependencies on kotlin-reflect with kotlin-reflect-api
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.
This commit is contained in:
@@ -32,10 +32,12 @@ dependencies {
|
||||
compile(projectTests(":js:js.tests"))
|
||||
compile(projectTests(":generators:test-generator"))
|
||||
compile(ideaSdkDeps("jps-build-test", subdir = "jps/test"))
|
||||
compileOnly(project(":kotlin-reflect-api"))
|
||||
testCompile(project(":idea:idea-test-framework")) { isTransitive = false }
|
||||
testCompile(project(":compiler:incremental-compilation-impl"))
|
||||
testCompile(commonDep("junit:junit"))
|
||||
testCompile(ideaSdkDeps("openapi", "idea"))
|
||||
testRuntime(projectDist(":kotlin-reflect"))
|
||||
testRuntime(ideaSdkDeps("*.jar"))
|
||||
testRuntime(ideaPluginDeps("idea-junit", "resources_en", plugin = "junit"))
|
||||
testRuntime(ideaPluginDeps("IntelliLang", plugin = "IntelliLang"))
|
||||
|
||||
Reference in New Issue
Block a user