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:
@@ -10,15 +10,16 @@ dependencies {
|
||||
compileOnly(project(":compiler:frontend.java"))
|
||||
compileOnly(project(":js:js.serializer"))
|
||||
compileOnly(project(":js:js.frontend"))
|
||||
compileOnly(project(":kotlin-reflect-api"))
|
||||
compileOnly(ideaSdkDeps("util"))
|
||||
testCompileOnly(project(":compiler:cli-common"))
|
||||
testCompile(projectTests(":compiler:tests-common"))
|
||||
testCompile(commonDep("junit:junit"))
|
||||
testCompile(protobufFull())
|
||||
testCompile(projectDist(":kotlin-stdlib"))
|
||||
testCompile(projectDist(":kotlin-reflect"))
|
||||
testCompileOnly(ideaSdkDeps("openapi"))
|
||||
testRuntime(projectDist(":kotlin-compiler"))
|
||||
testRuntime(projectDist(":kotlin-reflect"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
Reference in New Issue
Block a user