From 74e47e024f67c92d5213eaafc70d81a9dd886c46 Mon Sep 17 00:00:00 2001 From: Alexey Tsvetkov Date: Tue, 30 Jan 2018 04:12:25 +0300 Subject: [PATCH] Replace testCompile with testRuntime dependencies Compile dependencies broke incremental compilation because packed compiler was present in idea test compile classpath (we do not track changes in fat jars) --- idea/build.gradle.kts | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/idea/build.gradle.kts b/idea/build.gradle.kts index 5dff3f786a7..9071f76d80c 100644 --- a/idea/build.gradle.kts +++ b/idea/build.gradle.kts @@ -59,22 +59,22 @@ dependencies { testRuntime(projectDist(":kotlin-reflect")) testRuntime(projectDist(":kotlin-preloader")) - // deps below are test runtime deps, but made test compile to split compilation and running to reduce mem req - testCompile(project(":plugins:android-extensions-compiler")) - testCompile(project(":plugins:android-extensions-ide")) { isTransitive = false } - testCompile(project(":allopen-ide-plugin")) { isTransitive = false } - testCompile(project(":kotlin-allopen-compiler-plugin")) - testCompile(project(":noarg-ide-plugin")) { isTransitive = false } - testCompile(project(":kotlin-noarg-compiler-plugin")) - testCompile(project(":plugins:annotation-based-compiler-plugins-ide-support")) { isTransitive = false } - testCompile(project(":sam-with-receiver-ide-plugin")) { isTransitive = false } - testCompile(project(":kotlin-sam-with-receiver-compiler-plugin")) - testCompile(project(":idea:idea-android")) { isTransitive = false } - testCompile(project(":plugins:lint")) { isTransitive = false } - testCompile(project(":plugins:uast-kotlin")) + testCompile(project(":kotlin-sam-with-receiver-compiler-plugin")) { isTransitive = false } + + testRuntime(project(":plugins:android-extensions-compiler")) + testRuntime(project(":plugins:android-extensions-ide")) { isTransitive = false } + testRuntime(project(":allopen-ide-plugin")) { isTransitive = false } + testRuntime(project(":kotlin-allopen-compiler-plugin")) + testRuntime(project(":noarg-ide-plugin")) { isTransitive = false } + testRuntime(project(":kotlin-noarg-compiler-plugin")) + testRuntime(project(":plugins:annotation-based-compiler-plugins-ide-support")) { isTransitive = false } + testRuntime(project(":sam-with-receiver-ide-plugin")) { isTransitive = false } + testRuntime(project(":idea:idea-android")) { isTransitive = false } + testRuntime(project(":plugins:lint")) { isTransitive = false } + testRuntime(project(":plugins:uast-kotlin")) (rootProject.extra["compilerModules"] as Array).forEach { - testCompile(project(it)) + testRuntime(project(it)) } testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") } testCompile(intellijPluginDep("IntelliLang"))