Fix red code in IDE in kotlin-gradle-plugin-integration-tests

This commit is contained in:
Alexey Tsvetkov
2018-02-01 03:10:06 +03:00
parent 7c329b59b6
commit 8f144fc57a
2 changed files with 5 additions and 1 deletions
@@ -15,7 +15,10 @@ dependencies {
testCompile project(':kotlin-test:kotlin-test-jvm')
testCompile project(path: ':kotlin-compiler-embeddable', configuration: 'runtimeJar')
testCompile (project(path: ':kotlin-gradle-plugin-test-utils-embeddable', configuration: 'runtimeJar'))
// testCompileOnly dependency on non-shaded artifacts is needed for IDE support
// testRuntime on shaded artifact is needed for running tests with shaded compiler
testCompileOnly (project(path: ':kotlin-gradle-plugin-test-utils-embeddable', configuration: 'compile'))
testRuntime (project(path: ':kotlin-gradle-plugin-test-utils-embeddable', configuration: 'runtimeJar'))
testCompile project(path: ':examples:annotation-processor-example')
testCompile project(':kotlin-stdlib-jre8')
@@ -19,6 +19,7 @@ val projectsToInclude = listOf(":compiler:tests-common",
dependencies {
for (projectName in projectsToInclude) {
compile(projectTests(projectName)) { isTransitive = false }
packedJars(projectTests(projectName)) { isTransitive = false }
}