Make projectTests type of dependency transitive on testRuntime dependencies
`tests-jar` configuration now extends testRuntime instead of testCompile (note that testRuntime extends testCompile), and projectTests() dependency shortcut makes it transitive. This is required to depend on test utility modules producing `-tests` jar instead of default one without listing all their transitive dependencies.
This commit is contained in:
@@ -20,7 +20,6 @@ dependencies {
|
||||
testCompile(projectDist(":kotlin-reflect"))
|
||||
testCompile(projectTests(":compiler"))
|
||||
testCompile(projectTests(":compiler:tests-common"))
|
||||
testCompile(projectTests(":compiler:tests-common-jvm6"))
|
||||
testRuntime(projectRuntimeJar(":kotlin-preloader"))
|
||||
testRuntime(preloadedDeps("dx", subdir = "android-5.0/lib"))
|
||||
testRuntime(ideaSdkCoreDeps("*.jar"))
|
||||
|
||||
Reference in New Issue
Block a user