From f16459df3242ec4786ecf3bd7585964008c45cef Mon Sep 17 00:00:00 2001 From: Yan Zhulanow Date: Fri, 14 Jun 2019 18:17:50 +0900 Subject: [PATCH] Pill: Support 'runtimeOnly' dependency configuration --- buildSrc/src/main/kotlin/pill/parser.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/kotlin/pill/parser.kt b/buildSrc/src/main/kotlin/pill/parser.kt index f08f577e197..367103c6225 100644 --- a/buildSrc/src/main/kotlin/pill/parser.kt +++ b/buildSrc/src/main/kotlin/pill/parser.kt @@ -129,13 +129,13 @@ fun parse(project: Project, libraries: List, context: ParserContext): ('idea' module has 'intellij-core' as transitive dependency, and we really need to get rid of it.) */ private val CONFIGURATION_MAPPING = mapOf( - listOf("runtime") to Scope.RUNTIME, + listOf("runtimeClasspath") to Scope.RUNTIME, listOf("compile", "embedded") to Scope.COMPILE, listOf("compileOnly") to Scope.PROVIDED ) private val TEST_CONFIGURATION_MAPPING = mapOf( - listOf("runtime", "testRuntime") to Scope.RUNTIME, + listOf("runtimeClasspath", "testRuntimeClasspath") to Scope.RUNTIME, listOf("compile", "testCompile") to Scope.COMPILE, listOf("compileOnly", "testCompileOnly") to Scope.PROVIDED, listOf("jpsTest") to Scope.TEST